diff options
-rw-r--r-- | main/xgamma/APKBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/main/xgamma/APKBUILD b/main/xgamma/APKBUILD index efe072d518..ce0a907f7a 100644 --- a/main/xgamma/APKBUILD +++ b/main/xgamma/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xgamma -pkgver=1.0.3 -pkgrel=2 +pkgver=1.0.6 +pkgrel=0 pkgdesc="Alter a monitor's gamma correction through the X server" url="http://xorg.freedesktop.org/" arch="all" @@ -11,15 +11,10 @@ depends= makedepends="libx11-dev libxxf86vm-dev" source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" - update_config_sub || return 1 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -30,7 +25,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -sha512sums="bcd090f599d79c21b855e24f293558c4f0372879660fbefc6f019091a1d892e3ba474ba575eb998643606fd83ef0a7be5d84cfa440d29d6a23b69c6de297ea6f xgamma-1.0.3.tar.bz2" +sha512sums="2d41798e15ac8c6f6731a2da29589207d936eaee1223ce6f3ca948e67d63c5c8b955d11c7db092dcd8c66a6209bd15c1de3dc1446dad4b4277134f010c6fc47a xgamma-1.0.6.tar.bz2" |