aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-r128/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xf86-video-r128/APKBUILD')
-rw-r--r--main/xf86-video-r128/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/xf86-video-r128/APKBUILD b/main/xf86-video-r128/APKBUILD
index b8ac66ecc1..4d31a43f82 100644
--- a/main/xf86-video-r128/APKBUILD
+++ b/main/xf86-video-r128/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-r128
pkgver=6.10.2
-pkgrel=0
+pkgrel=1
pkgdesc="ATI Rage128 video driver"
url="http://xorg.freedesktop.org/"
arch="all"
@@ -24,14 +24,18 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --enable-dri \
- || return 1
- make || return 1
+ --enable-dri
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="564b65454ee538c1b9dc5d22a52a57bdff0c1f94e1832719a8310699cee7167c1ca8fcd26243dfc4089832b1fcbab9efafb69c9061b328532f689d02a0acac23 xf86-video-r128-6.10.2.tar.bz2"