aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-siliconmotion
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-siliconmotion
parent2c5123b65b79192075ab2718c286a798d640ffa2 (diff)
downloadaports-b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68.tar.bz2
aports-b77ae1ee38e93dbc0a5bf9d2d99633fce8b81e68.tar.xz
main/xf86-video-*: modernise, add check, add util-macros makedep
Diffstat (limited to 'main/xf86-video-siliconmotion')
-rw-r--r--main/xf86-video-siliconmotion/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/xf86-video-siliconmotion/APKBUILD b/main/xf86-video-siliconmotion/APKBUILD
index 083473b01e..754a87ac2a 100644
--- a/main/xf86-video-siliconmotion/APKBUILD
+++ b/main/xf86-video-siliconmotion/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-siliconmotion
pkgver=1.7.9
-pkgrel=0
+pkgrel=1
pkgdesc="Silicon Motion video driver"
url="http://xorg.freedesktop.org/"
arch="x86_64 x86"
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
@@ -22,14 +22,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="13085945ca496f83521c28b25c394077e010031dbdc2374347a932a52650ada02f525269a81d0b0bb20b48e371d5435a7a73cb7555a07dc5a784e77152608c63 xf86-video-siliconmotion-1.7.9.tar.bz2"