diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 16:02:24 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 17:00:09 +0000 |
commit | b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68 (patch) | |
tree | 37fbdc1676221eaa9ab7bc183d7de83b35a6bb77 /main/xf86-video-sunleo | |
parent | 2c5123b65b79192075ab2718c286a798d640ffa2 (diff) | |
download | aports-b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68.tar.bz2 aports-b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68.tar.xz |
main/xf86-video-*: modernise, add check, add util-macros makedep
Diffstat (limited to 'main/xf86-video-sunleo')
-rw-r--r-- | main/xf86-video-sunleo/APKBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/main/xf86-video-sunleo/APKBUILD b/main/xf86-video-sunleo/APKBUILD index 58d1cef829..65bcbdc625 100644 --- a/main/xf86-video-sunleo/APKBUILD +++ b/main/xf86-video-sunleo/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-sunleo pkgver=1.2.2 -pkgrel=0 +pkgrel=1 pkgdesc="Leo video driver" url="http://xorg.freedesktop.org/" arch="all" license="MIT" subpackages="$pkgname-doc" depends= -makedepends="xorg-server-dev libxi-dev fontsproto randrproto +makedepends="xorg-server-dev libxi-dev fontsproto randrproto util-macros videoproto renderproto" source="http://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 @@ -21,14 +21,18 @@ build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="467559e608b59dcf2a50cbaddc218ad0778e88515906fed9d6346db09187f3f7645482113882bcf81428d4af3d3f2cccec7f24663c12c23a411f8a87551ef23f xf86-video-sunleo-1.2.2.tar.bz2" |