diff options
Diffstat (limited to 'user/xf86-video-mga')
-rw-r--r-- | user/xf86-video-mga/APKBUILD | 37 |
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" |