diff options
Diffstat (limited to 'main/xf86-video-sis/APKBUILD')
-rw-r--r-- | main/xf86-video-sis/APKBUILD | 16 |
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" |