summaryrefslogtreecommitdiffstats
path: root/main/scrnsaverproto/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 18:49:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 18:49:47 +0000
commite0fdfae76d3139408a8935018c1474c2d331aaee (patch)
treea81e2e87495548372c51c88e7e195615dfffc1a0 /main/scrnsaverproto/APKBUILD
parent5ed908b026337397a38f0fcf2f5bad52df849104 (diff)
downloadaports-e0fdfae76d3139408a8935018c1474c2d331aaee.tar.bz2
aports-e0fdfae76d3139408a8935018c1474c2d331aaee.tar.xz
main/scrnsaverproto: upgrade to 1.2.1
Diffstat (limited to 'main/scrnsaverproto/APKBUILD')
-rw-r--r--main/scrnsaverproto/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/scrnsaverproto/APKBUILD b/main/scrnsaverproto/APKBUILD
index 96d35980e..32c4e502a 100644
--- a/main/scrnsaverproto/APKBUILD
+++ b/main/scrnsaverproto/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=scrnsaverproto
-pkgver=1.2.0
+pkgver=1.2.1
pkgrel=0
pkgdesc="X11 Screen Saver extension wire protocol"
url="http://xorg.freedesktop.org/"
@@ -10,13 +10,16 @@ depends=""
makedepends=""
source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/ || return 1
}
-md5sums="9040c991a56ee9b5976936f8c65d5c8a scrnsaverproto-1.2.0.tar.bz2"
+md5sums="6af0f2e3369f5f74e69345e214f5fd0d scrnsaverproto-1.2.1.tar.bz2"