summaryrefslogtreecommitdiff
path: root/user/xf86-video-openchrome/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 07:10:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 07:10:31 +0000
commite88230cb6be8055bb1a3f0b486f62d918ce5c0a6 (patch)
tree78ef948091b75d40b6228a4d8d1ae0bab08d19a6 /user/xf86-video-openchrome/APKBUILD
parentc3a13531355c3820d6cebaa2a1d5cfea3a5f4884 (diff)
downloadpackages-e88230cb6be8055bb1a3f0b486f62d918ce5c0a6.tar.gz
packages-e88230cb6be8055bb1a3f0b486f62d918ce5c0a6.tar.bz2
packages-e88230cb6be8055bb1a3f0b486f62d918ce5c0a6.tar.xz
packages-e88230cb6be8055bb1a3f0b486f62d918ce5c0a6.zip
user/xf86-video-openchrome: new package
Diffstat (limited to 'user/xf86-video-openchrome/APKBUILD')
-rw-r--r--user/xf86-video-openchrome/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/xf86-video-openchrome/APKBUILD b/user/xf86-video-openchrome/APKBUILD
new file mode 100644
index 000000000..a73468bca
--- /dev/null
+++ b/user/xf86-video-openchrome/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-video-openchrome
+pkgver=0.6.0
+pkgrel=0
+pkgdesc="S3/VIA Chrome video driver for X11"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="xorgproto-dev xorg-server-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/driver/xf86-video-openchrome-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+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="f074e70d54c87a9d6e1b52c2c2d72d7c551dcb59a5f34c0a5f9495db1a6e45db4300d51fabf7eedfbe91f964f9422931c752a49b322715c6aa9ddb0db9dd6004 xf86-video-openchrome-0.6.0.tar.bz2"