diff options
-rw-r--r-- | main/xf86-video-i128/APKBUILD | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/main/xf86-video-i128/APKBUILD b/main/xf86-video-i128/APKBUILD index d3a2bb7044..9dc1d0266b 100644 --- a/main/xf86-video-i128/APKBUILD +++ b/main/xf86-video-i128/APKBUILD @@ -5,7 +5,7 @@ pkgrel=7 pkgdesc="Number 9 I128 video driver" url="http://xorg.freedesktop.org/" arch="all" -license="custom" +license="MIT" subpackages="$pkgname-doc" depends= makedepends="xorg-server-dev libxi-dev fontsproto randrproto @@ -14,19 +14,14 @@ makedepends="xorg-server-dev libxi-dev fontsproto randrproto source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 mibstore.patch" -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare + update_config_sub } build() { - cd "$_builddir" + cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -37,7 +32,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } |