From e2c3ca935b58948c1fb08e60f85f2dc9bae28d9c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 10 Aug 2024 16:49:37 +0200 Subject: libgamma: set CC=cc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgamma/PKGBUILD | 11 ++++++++--- 1 file 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 } -- cgit v1.2.3-70-g09d2