aboutsummaryrefslogtreecommitdiffstats
path: root/community/transmission
diff options
context:
space:
mode:
Diffstat (limited to 'community/transmission')
-rw-r--r--community/transmission/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/community/transmission/APKBUILD b/community/transmission/APKBUILD
index fd924b20a2..0bff49f83f 100644
--- a/community/transmission/APKBUILD
+++ b/community/transmission/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=transmission
pkgver=3.00
-pkgrel=1
+pkgrel=2
pkgdesc="Lightweight GTK BitTorrent client"
url="https://transmissionbt.com/"
install="transmission-daemon.pre-install transmission-daemon.post-upgrade"
@@ -20,7 +20,7 @@ source="https://github.com/transmission/transmission-releases/raw/master/transmi
transmission-daemon.logrotate
disable-missing-lang.patch
"
-subpackages="$pkgname-cli $pkgname-daemon $pkgname-doc $pkgname-lang $pkgname-static"
+subpackages="$pkgname-cli $pkgname-daemon $pkgname-daemon-openrc:daemon_openrc $pkgname-doc $pkgname-lang $pkgname-static"
# secfixes:
# 3.00-r0:
@@ -58,12 +58,16 @@ daemon() {
"$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/share/transmission \
"$subpkgdir"/usr/share/
+ install -D -m644 "$srcdir"/transmission-daemon.logrotate \
+ "$subpkgdir"/etc/logrotate.d/transmission-daemon
+}
+
+daemon_openrc() {
+ pkgdesc="Lightweight BitTorrent client (OpenRC service files)"
install -D -m755 "$srcdir"/transmission-daemon.initd \
"$subpkgdir"/etc/init.d/transmission-daemon
install -D -m644 "$srcdir"/transmission-daemon.confd \
"$subpkgdir"/etc/conf.d/transmission-daemon
- install -D -m644 "$srcdir"/transmission-daemon.logrotate \
- "$subpkgdir"/etc/logrotate.d/transmission-daemon
}
cli() {
@@ -81,5 +85,5 @@ cli() {
sha512sums="eeaf7fe46797326190008776a7fa641b6341c806b0f1684c2e7326c1284832a320440013e42a37acda9fd0ee5dca695f215d6263c8acb39188c5d9a836104a61 transmission-3.00.tar.xz
d31275fba7eb322510f9667e66a186d626889a6e3143be2923aae87b9c35c5cf0c508639f1cb8c1b88b1e465bc082d80bb1101385ebde736a34d4eeeae0f6e15 transmission-daemon.initd
a3b9ac2b7bbe30e33060c8b6a693dc7072d3c6ac44f92ddd567969d8f57a0bfc1a561e781ae167703ccb4b2fd5b0e6d8f8a66c5ba14fe01d8d89a501d4501474 transmission-daemon.confd
-a09db6628d618b75fe5688638256b87042987f3e3df2210a93ba0ddf5d7602150d28f2a9f85c1fbc7654b1e32be101871d24a466f2cccaf05b34abe07133edc9 disable-missing-lang.patch
-a0e770a46b916cde7ea13076a0e4646c43f3b4db4bc85c18d2fee7cdb5cab458a74897ffb4bf66327f35ce145e89f5320460034a1392cc0df66aa1a3c0d82f7b transmission-daemon.logrotate"
+a0e770a46b916cde7ea13076a0e4646c43f3b4db4bc85c18d2fee7cdb5cab458a74897ffb4bf66327f35ce145e89f5320460034a1392cc0df66aa1a3c0d82f7b transmission-daemon.logrotate
+a09db6628d618b75fe5688638256b87042987f3e3df2210a93ba0ddf5d7602150d28f2a9f85c1fbc7654b1e32be101871d24a466f2cccaf05b34abe07133edc9 disable-missing-lang.patch"