summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Hebrok2023-01-31 13:01:36 +0100
committerSven Hebrok2023-01-31 13:01:36 +0100
commit4caa3516dee09887c838d6cd30c544b513c43401 (patch)
tree7e419456d0afe959b01f7879696d598187589312
parentf51c02a524312284893cd935ed626ff9a5b1f5d4 (diff)
downloadaur-4caa3516dee09887c838d6cd30c544b513c43401.tar.gz
Set build variable
Allows this package to be easily identifiable with `cups-config --build`
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD4
-rw-r--r--_patch.sed2
4 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3cdbb38d2302..8d16a7134d57 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cups-gssapi
pkgver = 2.4.2
- pkgrel = 3.1
+ pkgrel = 3.2
epoch = 1
url = https://openprinting.github.io/cups/
arch = x86_64
diff --git a/.gitignore b/.gitignore
index e8eff929af0e..b3c425e9e39e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
cups/
-src
+src/
+pkg/
cups-*-source.tar.*
*.pkg.tar.zst
diff --git a/PKGBUILD b/PKGBUILD
index 075d1fb397ac..8d144719577f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgbase="cups-gssapi"
pkgname=('libcups-gssapi' 'cups-gssapi')
pkgver=2.4.2
-pkgrel=3.1
+pkgrel=3.2
epoch=1
arch=('x86_64')
license=('Apache' 'custom')
@@ -71,7 +71,7 @@ build() {
export DSOFLAGS=${LDFLAGS}
# use fixed cups user (id 209) since systemd adds "lp" group without a fixed id
- ./configure --prefix=/usr --enable-gssapi \
+ ./configure --prefix=/usr --enable-gssapi --with-cups-build="cups-gssapi-${pkgver}" \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
diff --git a/_patch.sed b/_patch.sed
index edb5fa4e7e45..3f2aaf8bb269 100644
--- a/_patch.sed
+++ b/_patch.sed
@@ -3,7 +3,7 @@
s/# Maintainer: (.+)/# Upstream Maintainer: \1/g
-s/.\/configure (.+) \\/.\/configure \1 --enable-gssapi \\/
+s/.\/configure (.+) \\/.\/configure \1 --enable-gssapi --with-cups-build="cups-gssapi-${pkgver}" \\/
# replace cups with cups-gssapi in package definitions
/^(pkgbase|pkgname)=/ s/cups/cups-gssapi/g