summaryrefslogblamecommitdiff
path: root/user/xf86-video-mga/APKBUILD
blob: 9af9c5ecedbd2d16eba27fd0cb6d6ae286d306a0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
            





                                     
                                                                  
                          
                                                                             

         










                                         



                  


                                      
                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-video-mga
pkgver=2.0.1
pkgrel=0
pkgdesc="Matrox video driver for X11"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libdrm-dev util-macros xorgproto-dev xorg-server-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="d9a0abedb71f3354788c2f91b770bc00c4118cfa2c99072dea82c28f025bc87bb88ebaf969962a8f0e97e1ff7938aebd9c682b730b0e07d5174dd9e8dc2cdfb6  xf86-video-mga-2.0.1.tar.xz"