aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-siliconmotion/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-04 10:46:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-04 13:23:04 +0000
commita4b1779a2154dcec1f79e59606b6d9115e543b2b (patch)
tree6c06a903fac600c90f4eaeef7c07a55b220fb776 /main/xf86-video-siliconmotion/APKBUILD
parent842b7f99a262dbd283a874e8463cf978dae109eb (diff)
downloadaports-a4b1779a2154dcec1f79e59606b6d9115e543b2b.tar.gz
aports-a4b1779a2154dcec1f79e59606b6d9115e543b2b.tar.bz2
aports-a4b1779a2154dcec1f79e59606b6d9115e543b2b.tar.xz
main/xf86-video-siliconmotion: upgrade to 1.7.9
Diffstat (limited to 'main/xf86-video-siliconmotion/APKBUILD')
-rw-r--r--main/xf86-video-siliconmotion/APKBUILD24
1 files changed, 7 insertions, 17 deletions
diff --git a/main/xf86-video-siliconmotion/APKBUILD b/main/xf86-video-siliconmotion/APKBUILD
index df96fc96bf..dff723c959 100644
--- a/main/xf86-video-siliconmotion/APKBUILD
+++ b/main/xf86-video-siliconmotion/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-siliconmotion
-pkgver=1.7.8
-pkgrel=1
+pkgver=1.7.9
+pkgrel=0
pkgdesc="Silicon Motion video driver"
url="http://xorg.freedesktop.org/"
arch="x86_64 x86"
-license="custom"
+license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev fontsproto randrproto
@@ -14,18 +14,10 @@ makedepends="xorg-server-dev libxi-dev fontsproto randrproto
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -36,10 +28,8 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="46846be22f9e68db941abca7cd9334d9 xf86-video-siliconmotion-1.7.8.tar.bz2"
-sha256sums="e9d449a9fd9e58b4e018447b6c64005f7874cffb1777e513ac9fc41a86071beb xf86-video-siliconmotion-1.7.8.tar.bz2"
-sha512sums="8343982399737bbc09802ba17805b4111468d0241d4b2326ec32b237ca84e31dd02e4788c4e7fe508b032af9533765fb60ac8093877dc83f97709dc094bfa48e xf86-video-siliconmotion-1.7.8.tar.bz2"
+sha512sums="13085945ca496f83521c28b25c394077e010031dbdc2374347a932a52650ada02f525269a81d0b0bb20b48e371d5435a7a73cb7555a07dc5a784e77152608c63 xf86-video-siliconmotion-1.7.9.tar.bz2"