aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-sis/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 16:02:24 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 17:00:09 +0000
commitb77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68 (patch)
tree37fbdc1676221eaa9ab7bc183d7de83b35a6bb77 /main/xf86-video-sis/APKBUILD
parent2c5123b65b79192075ab2718c286a798d640ffa2 (diff)
downloadaports-b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68.tar.gz
aports-b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68.tar.bz2
aports-b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68.tar.xz
main/xf86-video-*: modernise, add check, add util-macros makedep
Diffstat (limited to 'main/xf86-video-sis/APKBUILD')
-rw-r--r--main/xf86-video-sis/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/xf86-video-sis/APKBUILD b/main/xf86-video-sis/APKBUILD
index a42d51ab54..d4de61a9ea 100644
--- a/main/xf86-video-sis/APKBUILD
+++ b/main/xf86-video-sis/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-sis
pkgver=0.10.9
-pkgrel=0
+pkgrel=1
pkgdesc="X.org SiS video driver"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
-makedepends="xorg-server-dev videoproto renderproto xproto
+makedepends="xorg-server-dev videoproto renderproto xproto util-macros
fontsproto xf86dgaproto xineramaproto randrproto xextproto mesa-dev
xf86driproto glproto libxi-dev"
@@ -24,14 +24,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="7cb11d2f1f8be8d92159af7e322a9e4fe4e3436c38932d6d665b8854c2009495e99ff075c7a14d9db9c781114afc8397f0e8c1225d9a2f4bbf1b6a4b6cd6745d xf86-video-sis-0.10.9.tar.bz2"