summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2022-10-29 17:32:17 +0000
committerDavid Runge <dvzrv@archlinux.org>2022-10-29 17:32:17 +0000
commit802cdd6a49bae68d50cd282aacdf061e171e4374 (patch)
tree963564581aa5bb554be81d164be46b9fa223b92d /PKGBUILD
parent8b702f8e01bd44f0f15ef3f0a589848002bec67a (diff)
Rebuild to fix reproducibility of shared library.
Add a .tarball-version file, so that internal version tooling can rely on it and not add unreproducible version strings.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b17b713..f20a5f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=libcamera
pkgname=(libcamera libcamera-docs libcamera-tools gst-plugin-libcamera)
pkgver=0.0.1
_commit=7219110a121c3904dca3bfb86da27ca5bfb57a76 # refs/tags/v0.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="A complex camera support library for Linux, Android, and ChromeOS"
arch=(x86_64)
url="https://libcamera.org/"
@@ -29,6 +29,8 @@ _pick() {
prepare() {
cd $pkgname
+ # add version, so that utils/gen-version.sh may rely on it
+ printf "%s\n" "$pkgver" > .tarball-version
}
build() {