diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-04 10:42:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-04 13:23:04 +0000 |
commit | c5e9b70b948afce3843451ff05cdac51ef00fb1a (patch) | |
tree | 098f054604f09cf03ba7db354c3de63dfa05c1d2 /main/xf86-video-nv/APKBUILD | |
parent | 63ed27fff5e2c16d5b8159653d86a8115c6370b4 (diff) | |
download | aports-c5e9b70b948afce3843451ff05cdac51ef00fb1a.tar.bz2 aports-c5e9b70b948afce3843451ff05cdac51ef00fb1a.tar.xz |
main/xf86-video-nv: upgrade to 2.1.21
Diffstat (limited to 'main/xf86-video-nv/APKBUILD')
-rw-r--r-- | main/xf86-video-nv/APKBUILD | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/main/xf86-video-nv/APKBUILD b/main/xf86-video-nv/APKBUILD index 7a40727144..14fdf0c412 100644 --- a/main/xf86-video-nv/APKBUILD +++ b/main/xf86-video-nv/APKBUILD @@ -1,32 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-nv -pkgver=2.1.20 -pkgrel=7 +pkgver=2.1.21 +pkgrel=0 pkgdesc="Nvidia 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 videoproto renderproto" -source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 - mibstore.patch" - -_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 -} +source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" ./configure \ --build=$CBUILD \ @@ -37,13 +26,8 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="e263dd0cd149b5224e92baa5a227bb00 xf86-video-nv-2.1.20.tar.bz2 -855434c62515bc1f619788a4472e13de mibstore.patch" -sha256sums="8395f65501f16f9cbaae8f598b02c6f18e78f4d3d30a08cb8d547dc2e00c10bf xf86-video-nv-2.1.20.tar.bz2 -0ec4234fd9202956d25ca93e9131930e4a3fbba5de2ca870d0cf2302ccb76b46 mibstore.patch" -sha512sums="f7c3f00aa949bdffdcb180fa727204b1cdbbad560919e111c589f8614fd897186cdefe014714505aa4646419b4d8bb879eaca96fea032b56cc8c71ba7faa6373 xf86-video-nv-2.1.20.tar.bz2 -f63c1803b3c7f0b6326ca85ba36b3953c0c856d698574265334ab038d9d8d783ec9ee4f8a88095b3f5163a78a4fbe3443d349cc71ef2cf84e7a04f5f25f7fbd8 mibstore.patch" +sha512sums="97cec43100b00609d43cf45937bafea387fd656cb5e321fcbed426973320097ba6601e4e548026618b3cf0c480f58956874a201791dc0cc39297b5fd54979ca7 xf86-video-nv-2.1.21.tar.bz2" |