diff options
Diffstat (limited to 'main/xf86-video-ast')
-rw-r--r-- | main/xf86-video-ast/APKBUILD | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/main/xf86-video-ast/APKBUILD b/main/xf86-video-ast/APKBUILD index feb25d996f..303483fffc 100644 --- a/main/xf86-video-ast/APKBUILD +++ b/main/xf86-video-ast/APKBUILD @@ -1,11 +1,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-ast pkgver=1.1.5 -pkgrel=0 +pkgrel=1 pkgdesc="X.Org driver for ASpeedTech cards" url="http://xorg.freedesktop.org/" arch="all" -license="custom" +license="MIT" subpackages="$pkgname-doc" depends= makedepends="xorg-server-dev libxi-dev fontsproto randrproto @@ -14,17 +14,9 @@ makedepends="xorg-server-dev libxi-dev fontsproto randrproto source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 " -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -35,7 +27,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } |