aboutsummaryrefslogtreecommitdiffstats
path: root/main/compositeproto/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 15:34:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 15:34:34 +0000
commit6e3223d7c11303c7262843b80b0cb5a206d898ba (patch)
treed4214cf1cbb6116d17365aa1cce34cd19721b39a /main/compositeproto/APKBUILD
parent79e07ef014970a938d20da520dc41b58ca5b506b (diff)
downloadaports-6e3223d7c11303c7262843b80b0cb5a206d898ba.tar.bz2
aports-6e3223d7c11303c7262843b80b0cb5a206d898ba.tar.xz
main/compositeproto: upgrade to 0.4.2
Diffstat (limited to 'main/compositeproto/APKBUILD')
-rw-r--r--main/compositeproto/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/compositeproto/APKBUILD b/main/compositeproto/APKBUILD
index be48ce6944..04f88ee3d4 100644
--- a/main/compositeproto/APKBUILD
+++ b/main/compositeproto/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=compositeproto
-pkgver=0.4.1
+pkgver=0.4.2
pkgrel=0
pkgdesc="X11 Composite extension wire protocol"
url="http://xorg.freedesktop.org/"
@@ -10,12 +10,15 @@ depends="fixesproto"
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 -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-md5sums="3692f3f8b2ea10dff3d2cede8dc65e79 compositeproto-0.4.1.tar.bz2"
+md5sums="98482f65ba1e74a08bf5b056a4031ef0 compositeproto-0.4.2.tar.bz2"