aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-10 16:49:37 +0200
committerMattias Andrée <maandree@kth.se>2024-08-10 16:49:37 +0200
commite2c3ca935b58948c1fb08e60f85f2dc9bae28d9c (patch)
tree64c32fbee6415860b28cabee6531f0ad719df0ad
parentUpdate sshexec to version 1.1 (diff)
downloadaur-packages-e2c3ca935b58948c1fb08e60f85f2dc9bae28d9c.tar.gz
aur-packages-e2c3ca935b58948c1fb08e60f85f2dc9bae28d9c.tar.bz2
aur-packages-e2c3ca935b58948c1fb08e60f85f2dc9bae28d9c.tar.xz
libgamma: set CC=cc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libgamma/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/libgamma/PKGBUILD b/libgamma/PKGBUILD
index 210b12c..d69d8dc 100644
--- a/libgamma/PKGBUILD
+++ b/libgamma/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libgamma
pkgver=0.7.4
-pkgrel=1
+pkgrel=2
pkgdesc="Display server abstraction layer for gamma ramps"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/libgamma"
@@ -13,14 +13,19 @@ source=(libgamma-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(6c15eab2c2d4651cd590d85df3dcbd9657c634c78a7c80aad5f9a9d2561e963a)
+prepare () {
+ cd "$srcdir/libgamma"
+ printf '%s\n' 'CC = cc' >> config.mk
+}
+
build() {
cd "$srcdir/libgamma"
- make PREFIX=/usr
+ make CONFIGFILE=config.mk PREFIX=/usr
}
package() {
cd "$srcdir/libgamma"
- make PREFIX=/usr DESTDIR="$pkgdir" install
+ make CONFIGFILE=config.mk PREFIX=/usr DESTDIR="$pkgdir" install
}