APKBUILD 803 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-ast
3 4
pkgver=0.89.9
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6 7 8
pkgdesc="X.Org driver for ASpeedTech cards"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
9 10
depends=
makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto
Natanael Copa's avatar
Natanael Copa committed
11 12
	videoproto renderproto"

13
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
14

15
build() {
Natanael Copa's avatar
Natanael Copa committed
16
	cd "$srcdir"/$pkgname-$pkgver
17
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
Natanael Copa's avatar
Natanael Copa committed
18 19
	./configure --prefix=/usr || return 1
	make || return 1
20 21 22 23
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
24 25 26
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
27
md5sums="619f6ff15db869be3800bb001d5b0468  xf86-video-ast-0.89.9.tar.bz2"