diff options
author | David Runge <dvzrv@archlinux.org> | 2022-11-20 16:01:36 +0000 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2022-11-20 16:01:36 +0000 |
commit | aaf7a55321018f7b9c35e55c01a72bbfbae6db9b (patch) | |
tree | d911f27a53ecec771683de4d6754d54db50e7ae4 /PKGBUILD | |
parent | 802cdd6a49bae68d50cd282aacdf061e171e4374 (diff) |
Upgrade to 0.0.2.
Move files in libcamera-docs to non-versioned location to have smaller diffs on update.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -2,9 +2,9 @@ pkgbase=libcamera pkgname=(libcamera libcamera-docs libcamera-tools gst-plugin-libcamera) -pkgver=0.0.1 -_commit=7219110a121c3904dca3bfb86da27ca5bfb57a76 # refs/tags/v0.0.1 -pkgrel=3 +pkgver=0.0.2 +_commit=a089adda68890fee1edfdfb96caeef268df99ff0 # refs/tags/v0.0.2 +pkgrel=1 pkgdesc="A complex camera support library for Linux, Android, and ChromeOS" arch=(x86_64) url="https://libcamera.org/" @@ -49,7 +49,6 @@ check() { } package_libcamera() { - meson install -C build --destdir "$pkgdir" depends=( gcc-libs glibc @@ -67,6 +66,7 @@ package_libcamera() { ) provides=(libcamera.so libcamera-base.so) + meson install -C build --destdir "$pkgdir" ( cd "$pkgdir" _pick $pkgbase-docs usr/share/doc @@ -79,6 +79,8 @@ package_libcamera-docs() { pkgdesc+=" - documentation" mv -v $pkgname/* "$pkgdir" + mv -v "$pkgdir/usr/share/doc/$pkgbase-$pkgver/" "$pkgdir/usr/share/doc/$pkgbase/" + rm -frv "$pkgdir/usr/share/doc/$pkgbase/html/.buildinfo" } package_libcamera-tools() { |