aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2012-10-11 00:21:50 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2012-10-11 00:21:50 +0200
commite0182434ccce1495575e59a74f5b33fa4ad7bd20 (patch)
tree5d6893bb3d26a7e4aadbeee1cf57155d3913fcec /testing
parent7a8543c437a9a6d81620acc34b02193d04c805b7 (diff)
downloadaports-e0182434ccce1495575e59a74f5b33fa4ad7bd20.tar.bz2
aports-e0182434ccce1495575e59a74f5b33fa4ad7bd20.tar.xz
testing/tvheadend: move post-install to package
Diffstat (limited to 'testing')
-rw-r--r--testing/tvheadend/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/tvheadend/APKBUILD b/testing/tvheadend/APKBUILD
index 636e37b81e..f0730bd5cd 100644
--- a/testing/tvheadend/APKBUILD
+++ b/testing/tvheadend/APKBUILD
@@ -3,7 +3,7 @@
pkgname=tvheadend
pkgver=3.2_beta2
_tag=aa27c42
-pkgrel=0
+pkgrel=1
pkgdesc="TV Streaming server for linux"
url="http://www.lonelycoder.com/hts/tvheadend_overview.html"
arch="all"
@@ -11,6 +11,8 @@ license="GPL3"
depends=""
depends_dev="openssl-dev wget bash findutils"
makedepends="$depends_dev"
+pkgusers="$pkgname"
+pkggroups="$pkgname"
install="$pkgname.pre-install"
subpackages="$pkgname-doc"
source="saveas-https://github.com/tvheadend/tvheadend/tarball/3.2beta2/$pkgname-$pkgver.tar.gz
@@ -45,7 +47,7 @@ package() {
make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1
install -m755 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname || return 1
- mkdir -p "$pkgdir/etc/tvheadend" || return 1
+ install -d -o $pkgname -g $pkgname "$pkgdir/etc/$pkgname"
}
md5sums="29c5e2a823f6596f3b864a7d8d01706d tvheadend-3.2_beta2.tar.gz