aboutsummaryrefslogtreecommitdiffstats
path: root/community/xf86-video-siliconmotion/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xf86-video-siliconmotion/APKBUILD')
-rw-r--r--community/xf86-video-siliconmotion/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/community/xf86-video-siliconmotion/APKBUILD b/community/xf86-video-siliconmotion/APKBUILD
index f3504429a08..63a8b346c66 100644
--- a/community/xf86-video-siliconmotion/APKBUILD
+++ b/community/xf86-video-siliconmotion/APKBUILD
@@ -1,21 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-siliconmotion
pkgver=1.7.9
-pkgrel=3
+pkgrel=7
pkgdesc="Silicon Motion video driver"
url="https://xorg.freedesktop.org"
arch="x86_64 x86"
license="MIT"
subpackages="$pkgname-doc"
-depends=
makedepends="xorg-server-dev libxi-dev util-macros xorgproto"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
"
-builddir="$srcdir"/$pkgname-$pkgver
-
build() {
- cd "$builddir"
+ export CFLAGS="${CFLAGS/-fno-plt}"
+ export CXXFLAGS="${CXXFLAGS/-fno-plt}"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -25,13 +23,14 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-sha512sums="13085945ca496f83521c28b25c394077e010031dbdc2374347a932a52650ada02f525269a81d0b0bb20b48e371d5435a7a73cb7555a07dc5a784e77152608c63 xf86-video-siliconmotion-1.7.9.tar.bz2"
+
+sha512sums="
+13085945ca496f83521c28b25c394077e010031dbdc2374347a932a52650ada02f525269a81d0b0bb20b48e371d5435a7a73cb7555a07dc5a784e77152608c63 xf86-video-siliconmotion-1.7.9.tar.bz2
+"