From fc885d9b34d4913eb3bff0b0b108bca1a508bcf5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 26 Apr 2012 16:25:32 +0000 Subject: main/transmission: user and group and var/lib belongs to daemon package fixes #1115 --- main/transmission/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main/transmission/APKBUILD') 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 \ -- cgit v1.2.3