aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}