summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Maciej Nowak2017-02-02 21:46:51 +0100
committerTomasz Maciej Nowak2017-02-02 21:46:51 +0100
commitb7886f6d622dbcbcf04ab255f16ca287e37da62c (patch)
tree667584718bcba1d73006f3550888534a6721495b
parent11c93c587bc64d83da730d1591a141b74076ac2f (diff)
downloadaur-b7886f6d622dbcbcf04ab255f16ca287e37da62c.tar.gz
vtuner-client: depend on vtunerc-dkms
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD10
-rwxr-xr-xvtunerc-driver_kmod4
3 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8190a4320f..97977bc757d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu May 26 14:05:49 UTC 2016
+# Thu Feb 2 20:45:38 UTC 2017
pkgbase = vtuner.apps
pkgdesc = access DVB devices over the network
- pkgver = 2.1_ec05cde3
- pkgrel = 2
+ pkgver = 2.1_gec05cde
+ pkgrel = 3
url = http://code.google.com/p/vtuner/
arch = x86_64
arch = i686
@@ -25,11 +25,11 @@ pkgbase = vtuner.apps
sha256sums = 9e4568a92caf05b5add190e792b788100aea3aac783ff1681c816a7ac87c631b
sha256sums = d886e2aa59c122a4feebdcacbadeef8022b597c369d527328c0aea571f66f7a0
sha256sums = 42f3bb7ed053afa338535bd649b4738bf142a9d039010f6bd1a356cf51e80dbc
- sha256sums = 75afc288f0cb1be62e7d719fe0d5c1fadd703f80d8b0850e9799b0f14be4a045
+ sha256sums = d25fe328c78df500a96f593d9b030e0f5cd65ce476870ef7772598ef2a49415b
pkgname = vtuner-client
pkgdesc = VTuner client for virtual DVB's
- depends = vtuner-module
+ depends = vtunerc-dkms
backup = etc/conf.d/vtunerc0
pkgname = vtuner-server
diff --git a/PKGBUILD b/PKGBUILD
index 4b3981f06df..7fc5ab6f693 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: Tomasz Maciej Nowak <com[dot]gmail[at]tmn505>
+_gitver=ec05cde34dd77678933c912a6b4abab5d81b9a5b
pkgbase=vtuner.apps
pkgdesc="access DVB devices over the network"
pkgname=('vtuner-client' 'vtuner-server')
-pkgver=2.1_ec05cde3
-pkgrel=2
-_gitver=ec05cde34dd77678933c912a6b4abab5d81b9a5b
+pkgver=2.1_gec05cde
+pkgrel=3
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="http://code.google.com/p/vtuner/"
license=('GPL2')
@@ -21,7 +21,7 @@ sha256sums=('7a8d3d6e8fc2c97b9f80c1a2208faecfac92aeb3bed863b9b98f66e0a25b1a4b'
'9e4568a92caf05b5add190e792b788100aea3aac783ff1681c816a7ac87c631b'
'd886e2aa59c122a4feebdcacbadeef8022b597c369d527328c0aea571f66f7a0'
'42f3bb7ed053afa338535bd649b4738bf142a9d039010f6bd1a356cf51e80dbc'
- '75afc288f0cb1be62e7d719fe0d5c1fadd703f80d8b0850e9799b0f14be4a045')
+ 'd25fe328c78df500a96f593d9b030e0f5cd65ce476870ef7772598ef2a49415b')
prepare() {
cd ${srcdir}/${pkgbase}-${_gitver}
@@ -36,7 +36,7 @@ build() {
package_vtuner-client() {
pkgdesc="VTuner client for virtual DVB's"
- depends=('vtuner-module')
+ depends=('vtunerc-dkms')
backup=('etc/conf.d/vtunerc0')
install -Dm744 ${srcdir}/${pkgbase}-${_gitver}/dist/${CARCH}/vtunerc.${CARCH} ${pkgdir}/usr/bin/vtunerc
install -Dm644 ${srcdir}/vtunerc@.service ${pkgdir}/usr/lib/systemd/system/vtunerc@.service
diff --git a/vtunerc-driver_kmod b/vtunerc-driver_kmod
index ce75c5b931f..46de6bdc9a7 100755
--- a/vtunerc-driver_kmod
+++ b/vtunerc-driver_kmod
@@ -7,9 +7,7 @@ load() {
}
unload() {
- if [ -e /run/vtunerc*.pid ]; then
- :
- else
+ if [ ! -e /run/vtunerc*.pid ]; then
rmmod -f vtunerc
fi
}