summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOle Ernst2016-04-29 18:36:41 +0200
committerOle Ernst2016-04-29 18:36:41 +0200
commita1de97ca57d50a3e5c0abe103c19830aadfc61ee (patch)
tree95e3a1f67f518cb6ac2902376c2a8147daa7ef9c /PKGBUILD
parent2f5e6151c79e43edf8f06cdee87d9662a08e4fd4 (diff)
downloadaur-a1de97ca57d50a3e5c0abe103c19830aadfc61ee.tar.gz
upgpkg: 20160430-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 421961a0df8..35e96ad3016 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ole Ernst <olebowle[at]gmx[dot]com>
pkgname=media-build-dvbsky
-pkgver=20151028
-pkgrel=6
+pkgver=20160430
+pkgrel=1
pkgdesc="Driver for DVBSky cards/boxes"
arch=('i686' 'x86_64')
url="http://www.dvbsky.net/Support_linux.html"
@@ -11,42 +11,36 @@ makedepends=('linux-headers' 'perl-proc-processtable')
conflicts=('dvbsky-dvb-drivers')
replaces=('dvbsky-dvb-drivers')
install="$pkgname.install"
-source=("http://www.dvbsky.net/download/linux/media_build-bst-151028.tar.gz"
+source=("http://www.dvbsky.net/download/linux/media_build-bst-160430.tar.gz"
'add_c2800e.patch'
'add_s850.patch'
- '4.3-compat.patch'
- '4.4-compat.patch'
'4.5-compat.patch')
-sha256sums=('48a8726c6799025be06bc5b8bafa8449ca02abf8fe578e805f91707a5edf1e52'
+sha256sums=('b3c612d792834d14c981c400022ec923c154e10161121cf730a09b4ed4e35b04'
'bdb4cb06418cb2e36eb3219b4d4be329d5297db1704e6e3ef0c73dd6bb9721f1'
'c44b8dec256c271ceb59c6bd56df9f7a13735e3b9e110114e0504a48e99e6d10'
- 'e4991181b5a658f93ff6f454c22eb13955c8ae8ad19d3ddef1a0d7cc281c832e'
- '42e4e6b6011f1126e69d8fd1cc06af72b4baa396b551c18a54de632d572c7d8c'
'3c01458ab75b9d78ea7eb76f98e6a5982d33d5ba4841e6ff6460939641ba73e9')
prepare() {
- cd media_build-bst
+ cd media_build-bst-160430
ln -sr v4l/sit2_op.o.x${CARCH: -2} v4l/sit2_op.o
cp v4l/sit2_mod.dvb linux/drivers/media/dvb-frontends/sit2_mod.c
sed -i '/depmod/d' v4l/Makefile v4l/scripts/make_makefile.pl
patch -p1 -i ../add_c2800e.patch
patch -p1 -i ../add_s850.patch
- patch -p1 -i ../4.3-compat.patch
- patch -p1 -i ../4.4-compat.patch
patch -p1 -i ../4.5-compat.patch
export _kernver=$(</usr/lib/modules/extramodules-[0-9]\.+([0-9])-ARCH/version)
sed -i "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/" "$startdir/$install"
}
build() {
- cd media_build-bst
+ cd media_build-bst-160430
#target prepare doesn't like parallel jobs
make VER=$_kernver -j1 prepare
make VER=$_kernver
}
package() {
- cd media_build-bst
+ cd media_build-bst-160430
make DESTDIR="$pkgdir" KDIR26="/usr/lib/modules/$_kernver/updates/kernel/drivers/media" media-install
find "$pkgdir" -type f -name '*.ko' -exec gzip -9 {} \;
}