summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTomasz Maciej Nowak2018-11-07 19:46:36 +0100
committerTomasz Maciej Nowak2018-11-07 19:46:36 +0100
commit772371c9d19f4bab76f86cdcc8697cdae0d7bfee (patch)
tree99cc1bd24dff27b0690f5b09b351f356525f8f87 /PKGBUILD
parentf7a0f6948dc5232b36f824038f92eb14e1157113 (diff)
downloadaur-772371c9d19f4bab76f86cdcc8697cdae0d7bfee.tar.gz
upgpkg: vtuner-client 2.1_gec05cde-5
* simplify makefile * fix few build warnings
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 77b8cdf9629..d08bb60c8d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,41 +6,46 @@ _gitver=ec05cde34dd77678933c912a6b4abab5d81b9a5b
pkgbase=vtuner.apps
pkgname=('vtuner-client' 'vtuner-server')
pkgver=2.1_gec05cde
-pkgrel=4
+pkgrel=5
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url='http://code.google.com/p/vtuner'
license=('GPL2')
source=("${pkgbase}-${_gitver}.tar.gz::https://github.com/lecotex/vtuner.apps/archive/${_gitver}.tar.gz"
- 'add-arm-targets.patch'
'vtunerc@.service'
'vtunerd.service'
'vtunerc0'
'vtunerd'
- 'vtunerc-driver_kmod')
+ 'vtunerc-driver_kmod'
+ 'simplify-makefile.patch'
+ 'add-missing-includes.patch'
+ 'fix-incompatible-pointers.patch')
sha256sums=('7a8d3d6e8fc2c97b9f80c1a2208faecfac92aeb3bed863b9b98f66e0a25b1a4b'
- '95b6f060a508995d2d11062951963c48435af05f946907b7782982a1213e3631'
'870e48fb79b9065b5c98056df1aa6638c4dd3c5340331aed8a91af45f2162477'
'9e4568a92caf05b5add190e792b788100aea3aac783ff1681c816a7ac87c631b'
'ebbc555c1995d9f504f404a671cf36908c59dcd8ab73b0f9886bce9bde985620'
'0e443b9c820f8438fb4bdec50a0888269ca6c1e2dd890f50ccbbb353b8dc0a00'
- '222de6d13132dcde7748cac31b318643fb184e6ebac17d8e9d7602a1d842ea2d')
+ '222de6d13132dcde7748cac31b318643fb184e6ebac17d8e9d7602a1d842ea2d'
+ 'aa01e9ff441536924e1a0383f30155ccc376424c38b8f92db560ca2d31b4f2c1'
+ 'f328f903ce71611d5266e0dd17dc0439d31bcbb4ec87f4bd547d2610bd649292'
+ '1ac166762bb7d65e2de898eecb73a90066c77baaa7b7a7559bfc8d57510dea62')
prepare() {
cd ${srcdir}/${pkgbase}-${_gitver}
- patch -p1 -i ${srcdir}/add-arm-targets.patch
- cp Make.config.sample Make.config
+ patch -p1 -i ${srcdir}/simplify-makefile.patch
+ patch -p1 -i ${srcdir}/add-missing-includes.patch
+ patch -p1 -i ${srcdir}/fix-incompatible-pointers.patch
}
build() {
cd ${srcdir}/${pkgbase}-${_gitver}
- make ${CARCH} LOCVER=${pkgver}
+ make LOCVER=${pkgver}
}
package_vtuner-client() {
pkgdesc='VTuner client for the network shared DVB devices'
depends=('vtunerc-dkms')
backup=('etc/conf.d/vtunerc0')
- install -Dm744 ${srcdir}/${pkgbase}-${_gitver}/dist/${CARCH}/vtunerc.${CARCH} ${pkgdir}/usr/bin/vtunerc
+ install -Dm744 ${srcdir}/${pkgbase}-${_gitver}/vtunerc ${pkgdir}/usr/bin/vtunerc
install -Dm644 ${srcdir}/vtunerc@.service ${pkgdir}/usr/lib/systemd/system/vtunerc@.service
install -Dm744 ${srcdir}/vtunerc-driver_kmod ${pkgdir}/usr/lib/systemd/scripts/vtunerc-driver_kmod
install -Dm644 ${srcdir}/vtunerc0 ${pkgdir}/etc/conf.d/vtunerc0
@@ -49,7 +54,7 @@ package_vtuner-client() {
package_vtuner-server() {
pkgdesc='VTuner server for sharing local DVB devices over the network'
backup=('etc/conf.d/vtunerd')
- install -Dm744 ${srcdir}/${pkgbase}-${_gitver}/dist/${CARCH}/vtunerd.${CARCH} ${pkgdir}/usr/bin/vtunerd
+ install -Dm744 ${srcdir}/${pkgbase}-${_gitver}/vtunerd ${pkgdir}/usr/bin/vtunerd
install -Dm644 ${srcdir}/vtunerd.service ${pkgdir}/usr/lib/systemd/system/vtunerd.service
install -Dm644 ${srcdir}/vtunerd ${pkgdir}/etc/conf.d/vtunerd
}