aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/transmission/APKBUILD7
-rw-r--r--main/transmission/transmission-daemon.pre-install (renamed from main/transmission/transmission.pre-install)0
2 files changed, 5 insertions, 2 deletions
diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD
index b9ccbb0fed..8c6f962321 100644
--- a/main/transmission/APKBUILD
+++ b/main/transmission/APKBUILD
@@ -1,13 +1,15 @@
# Maintainer:Carlo Landmeter
pkgname=transmission
pkgver=2.51
-pkgrel=1
+pkgrel=2
pkgdesc="Lightweight GTK BitTorrent client"
url="http://www.tansmissionbt.com"
-install="$pkgname.pre-install"
+install="transmission-daemon.pre-install"
arch="all"
license="MIT"
depends=
+pkgusers="transmission"
+pkggroups="transmission"
makedepends="openssl-dev pkgconfig curl-dev gtk+-dev intltool libevent-dev
libnotify-dev dbus-glib-dev autoconf automake tar libcanberra-dev gconf-dev"
source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
@@ -47,6 +49,7 @@ package() {
daemon() {
pkgdesc="Lightweight BitTorrent client (daemon and webinterface)"
install -d "$subpkgdir"/usr/share "$subpkgdir"/usr/bin
+ install -d -o transmission -g transmission "$subpkgdir"/var/lib/transmission
mv "$pkgdir"/usr/bin/transmission-daemon "$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/share/transmission "$subpkgdir"/usr/share/
install -D -m755 "$srcdir"/transmission-daemon.initd \
diff --git a/main/transmission/transmission.pre-install b/main/transmission/transmission-daemon.pre-install
index 44a14760f6..44a14760f6 100644
--- a/main/transmission/transmission.pre-install
+++ b/main/transmission/transmission-daemon.pre-install