aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-ast/APKBUILD
blob: 9566ad0094d87c12ad77bfdf876f57602f7baa50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-ast
pkgver=1.1.5
pkgrel=1
pkgdesc="X.Org driver for ASpeedTech cards"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev fontsproto randrproto
	videoproto renderproto"

source="http://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
	"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="4f85febe48d51e53624550a96fc9e9ee  xf86-video-ast-1.1.5.tar.bz2"
sha256sums="1edbbc55d47d3fd71dec99b15c2483e22738c642623a0fb86ef4a81a9067a2de  xf86-video-ast-1.1.5.tar.bz2"
sha512sums="067c2ce3e74c83fe1531213308753cb80482d177c93009c99dc49e95bfa6ff058d81cc716d6c343b9ca1e0eb7aedf3b84beb12ad08b8cd4d9f43e11f9e192e8e  xf86-video-ast-1.1.5.tar.bz2"