diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-05 19:48:13 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:51:29 +0000 |
commit | 7810e1ad8b73baed308d62ad172ea8d43bfd4737 (patch) | |
tree | 853d505ccc267fe82a5f60e3cb3dafa046a79483 /main/xf86vidmodeproto | |
parent | 7107bea5a6a6c1bfa1360ea231c597db7482b08b (diff) | |
download | aports-7810e1ad8b73baed308d62ad172ea8d43bfd4737.tar.bz2 aports-7810e1ad8b73baed308d62ad172ea8d43bfd4737.tar.xz |
main/xf86vidmodeproto: modernise, fix deps, mark no test
Diffstat (limited to 'main/xf86vidmodeproto')
-rw-r--r-- | main/xf86vidmodeproto/APKBUILD | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/main/xf86vidmodeproto/APKBUILD b/main/xf86vidmodeproto/APKBUILD index ce60e57a50..027c869140 100644 --- a/main/xf86vidmodeproto/APKBUILD +++ b/main/xf86vidmodeproto/APKBUILD @@ -1,34 +1,33 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86vidmodeproto pkgver=2.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="X11 Video Mode extension wire protocol" url="http://xorg.freedesktop.org/" arch="noarch" license="custom" +options="!check" # No test suite. depends="" -makedepends="" +makedepends="util-macros" source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2" -_builddir="$srcdir/$pkgname-$pkgver" - prepare() { - cd "$_builddir" - update_config_sub || return 1 + cd "$builddir" + update_config_sub + default_prepare } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="d68784339271226a71360253b5f35d9cbec483801b4df3684bd070b1208a478edf9e5f55f1ff8ff186c81c56fb6e105e8cebad43d650cdbe605eed10bb7c7c50 xf86vidmodeproto-2.3.1.tar.bz2" |