summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 03:56:48 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 03:56:48 +0000
commit273e49b5c1466d201ed317b533962aea121d1b0f (patch)
tree46e7f7ed63773d9d8486bbf5b83ad1cd0d5e2ffe
parent02d6dbaaa423b756349f670827b6fe78c24f231c (diff)
downloadpackages-273e49b5c1466d201ed317b533962aea121d1b0f.tar.gz
packages-273e49b5c1466d201ed317b533962aea121d1b0f.tar.bz2
packages-273e49b5c1466d201ed317b533962aea121d1b0f.tar.xz
packages-273e49b5c1466d201ed317b533962aea121d1b0f.zip
user/xf86-video-mga: new package
-rw-r--r--user/xf86-video-mga/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xf86-video-mga/APKBUILD b/user/xf86-video-mga/APKBUILD
new file mode 100644
index 000000000..adfbc5b31
--- /dev/null
+++ b/user/xf86-video-mga/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-video-mga
+pkgver=2.0.0
+pkgrel=0
+pkgdesc="Matrox video driver for X11"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="util-macros xorgproto-dev xorg-server-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/driver/xf86-video-mga-$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="b92006486aef815ff4399f291d610c65d88c0b32a9dae97658c644715ff62b221b01495b5c7a2311745e26f699c1c1f753b81c7bf54cf75567af9f78ac015540 xf86-video-mga-2.0.0.tar.bz2"