aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xgamma/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-22 22:48:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-22 22:48:16 +0000
commit45c2430c6136df9bf95b4639b5757349f79d5e39 (patch)
treec313a626af73a4c4a1d90dd6c2b1adadfa9ca6e0 /x11/xgamma/APKBUILD
parentb09a8ed2d55c750f70224aa3774cce18021155e2 (diff)
downloadaports-45c2430c6136df9bf95b4639b5757349f79d5e39.tar.gz
aports-45c2430c6136df9bf95b4639b5757349f79d5e39.tar.bz2
aports-45c2430c6136df9bf95b4639b5757349f79d5e39.tar.xz
x11/xgamma: upgrade to 1.0.3
Diffstat (limited to 'x11/xgamma/APKBUILD')
-rw-r--r--x11/xgamma/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/x11/xgamma/APKBUILD b/x11/xgamma/APKBUILD
index 583dceb498..a980fcf4ce 100644
--- a/x11/xgamma/APKBUILD
+++ b/x11/xgamma/APKBUILD
@@ -1,20 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xgamma
-pkgver=1.0.2
+pkgver=1.0.3
pkgrel=0
pkgdesc="Alter a monitor's gamma correction through the X server"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-doc"
-depends="uclibc libx11 libxxf86vm"
+depends=
makedepends="pkgconfig libx11-dev libxxf86vm-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="f13ddedaa63a608d3b025d326f4f5b5d xgamma-1.0.2.tar.bz2"
+md5sums="e8a88bf1a18f35b724619849dca97f4f xgamma-1.0.3.tar.bz2"