summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2018-03-19 14:21:47 -0700
committerDonald Webster2018-03-19 14:21:47 -0700
commita9d339879c8877ddf4a9a08bfda7ce36f28d7770 (patch)
tree6ec5407f03562dc10f6ae6709a911fe172f90a28
parent93905ad059fec5af68cf0444955b36dbdc03260b (diff)
downloadaur-a9d339879c8877ddf4a9a08bfda7ce36f28d7770.tar.gz
Remove headphones-user.service file.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
-rw-r--r--headphones-user.service8
-rw-r--r--headphones.service (renamed from headphones-system.service)0
4 files changed, 5 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 480e07f237d1..2b4d82fff6a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = headphones-git
pkgdesc = Music downloader for usenet and torrents.
pkgver = 0.5.18.r159.gda9287d7
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/rembo10/headphones
install = headphones.install
arch = any
@@ -20,13 +20,11 @@ pkgbase = headphones-git
conflicts = headphones
options = !strip
source = git+https://github.com/rembo10/headphones.git
- source = headphones-system.service
- source = headphones-user.service
+ source = headphones.service
source = headphones.sysusers
source = headphones.tmpfiles
sha256sums = SKIP
sha256sums = 60ef2bc4c0bc1d23d4fe43202759cb24d9f456bd00cb8841ee11b2c4cbce917e
- sha256sums = 9b753f7c3a7f81db01e814b2edb6b44a8c7b1e755c70a394082ca5fce5e2c5d7
sha256sums = 348abc0627d63762a97655b5893c306e5b923857be5d0b876e9df5fea7ef9ed9
sha256sums = f1e537c6853c3d641ec2266283b726a8fa5ed8f78c4325d295e66bb4d4868585
diff --git a/PKGBUILD b/PKGBUILD
index 55d5535e0e6e..2d73ba32548b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=headphones-git
pkgver=0.5.18.r159.gda9287d7
-pkgrel=2
+pkgrel=3
pkgdesc="Music downloader for usenet and torrents."
arch=('any')
url="https://github.com/rembo10/headphones"
@@ -24,14 +24,12 @@ conflicts=('headphones')
options=('!strip')
install='headphones.install'
source=('git+https://github.com/rembo10/headphones.git'
- 'headphones-system.service'
- 'headphones-user.service'
+ 'headphones.service'
'headphones.sysusers'
'headphones.tmpfiles')
sha256sums=('SKIP'
'60ef2bc4c0bc1d23d4fe43202759cb24d9f456bd00cb8841ee11b2c4cbce917e'
- '9b753f7c3a7f81db01e814b2edb6b44a8c7b1e755c70a394082ca5fce5e2c5d7'
'348abc0627d63762a97655b5893c306e5b923857be5d0b876e9df5fea7ef9ed9'
'f1e537c6853c3d641ec2266283b726a8fa5ed8f78c4325d295e66bb4d4868585')
@@ -45,8 +43,7 @@ package() {
cp -a "${srcdir}/headphones"/* "${pkgdir}/usr/lib/headphones"
rm -rf "${pkgdir}/usr/lib/headphones/.git"
- install -D -m 644 headphones-system.service "${pkgdir}/usr/lib/systemd/system/headphones.service"
- install -D -m 644 headphones-user.service "${pkgdir}/usr/lib/systemd/user/headphones.service"
+ install -D -m 644 headphones.service "${pkgdir}/usr/lib/systemd/system/headphones.service"
install -D -m 644 headphones.sysusers "${pkgdir}/usr/lib/sysusers.d/headphones.conf"
install -D -m 644 headphones.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/headphones.conf"
}
diff --git a/headphones-user.service b/headphones-user.service
deleted file mode 100644
index a14e028d6535..000000000000
--- a/headphones-user.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Headphones Daemon
-
-[Service]
-ExecStart=/usr/bin/python2 /usr/lib/headphones/Headphones.py --config %h/.headphones/config.ini --datadir %h/.headphones
-
-[Install]
-WantedBy=default.target
diff --git a/headphones-system.service b/headphones.service
index e4d0d5138021..e4d0d5138021 100644
--- a/headphones-system.service
+++ b/headphones.service