summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgato_lento2017-04-14 20:51:53 -0500
committergato_lento2017-04-14 20:51:53 -0500
commitc1cca108fad05c9d5906e03e24a3e646582bef2f (patch)
tree94732bb3fa2bf0529986844fdd9948213aa8999b
parent7b315fcd56ebfbc7249dbee639365717ba368458 (diff)
downloadaur-c1cca108fad05c9d5906e03e24a3e646582bef2f.tar.gz
Add systemd service config file contributed by xiretza
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
-rw-r--r--combustion.conf2
3 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1fa2963bf650..def9fdbb7d94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
pkgbase = combustion
pkgdesc = Sleek, modern web interface for Transmission
pkgver = 0.6.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Secretmapper/combustion
arch = any
license = MIT
depends = transmission-cli
source = git+https://github.com/Secretmapper/combustion.git
source = combustion.sh
+ source = combustion.conf
sha1sums = SKIP
sha1sums = 1b2e73e143508792e94bd7d35f2e0d68b837527a
+ sha1sums = 1cc64c9ef6cf9023aa17ae51b454b1b3a420f2ae
pkgname = combustion
diff --git a/PKGBUILD b/PKGBUILD
index 71611a118e90..e874cc93dad0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: gato_lento <vukk.euob at gmail>
pkgname=combustion
pkgver=0.6.1
-pkgrel=1
+pkgrel=2
pkgdesc='Sleek, modern web interface for Transmission'
arch=('any')
url='https://github.com/Secretmapper/combustion'
@@ -11,16 +11,19 @@ depends=('transmission-cli')
source=(
"git+https://github.com/Secretmapper/combustion.git"
"combustion.sh"
+ "combustion.conf"
)
sha1sums=(
SKIP
1b2e73e143508792e94bd7d35f2e0d68b837527a
+ 1cc64c9ef6cf9023aa17ae51b454b1b3a420f2ae
)
package() {
install -D -m644 "$srcdir/combustion/LICENSE" "$pkgdir/usr/share/licenses/combustion/LICENSE"
install -D -m755 "$srcdir/combustion.sh" "$pkgdir/etc/profile.d/combustion.sh"
+ install -D -m644 "$srcdir/combustion.conf" "$pkgdir/usr/lib/systemd/system/transmission.service.d/combustion.conf"
cd "$srcdir/combustion"
git checkout v${pkgver}
cp -r "$srcdir/combustion" "$pkgdir/usr/share/"
diff --git a/combustion.conf b/combustion.conf
new file mode 100644
index 000000000000..aba7e96f6cac
--- /dev/null
+++ b/combustion.conf
@@ -0,0 +1,2 @@
+[Service]
+Environment="TRANSMISSION_WEB_HOME=/usr/share/combustion/"