summaryrefslogtreecommitdiff
path: root/user/xf86-video-r128/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xf86-video-r128/APKBUILD')
-rw-r--r--user/xf86-video-r128/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xf86-video-r128/APKBUILD b/user/xf86-video-r128/APKBUILD
new file mode 100644
index 000000000..0dd94af4e
--- /dev/null
+++ b/user/xf86-video-r128/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-video-r128
+pkgver=6.12.0
+pkgrel=0
+pkgdesc="ATi Rage 128 video driver for X11"
+url="https://www.X.Org/"
+arch="all"
+license="X11 AND MIT"
+depends=""
+makedepends="util-macros xorgproto-dev xorg-server-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/driver/xf86-video-r128-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0e667e2cfa8a87a00846361d86528c93754c403c812b66798953fa4c857b2143b2c4c44885da467e7f910d8cb910b69492cdcb6f25e2197bae6617364d152e38 xf86-video-r128-6.12.0.tar.bz2"