summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Mulvey (mercury)2016-12-12 15:29:07 -0800
committerSam Mulvey (mercury)2016-12-12 15:29:07 -0800
commitc6740124b26cbce7d60963d67d2c5f001012af59 (patch)
tree36097f36d98a11f313181b0dca0a10a83a2cf5a5
parent3e737b87825f3cd0bd558e6e90452eed3dceb92c (diff)
downloadaur-c6740124b26cbce7d60963d67d2c5f001012af59.tar.gz
readding service file, increment to -2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rw-r--r--service10
3 files changed, 14 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fb088b328c06..98b30e2e36e9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = darkice
pkgdesc = Live audio streamer. Reads from audio interface, encodes, sends to streaming server.
pkgver = 1.3
- pkgrel = 1
+ pkgrel = 2
url = http://www.darkice.org/
arch = i686
arch = x86_64
@@ -18,7 +18,7 @@ pkgbase = darkice
depends = libsamplerate
depends = fftw
source = darkice::git+https://github.com/Ouack23/darkice.git#branch=master
- source = https://aur.archlinux.org/cgit/aur.git/plain/service?h=darkice
+ source = service
md5sums = SKIP
md5sums = 1c1cde0a5c03a2190a48275c03016eb8
diff --git a/PKGBUILD b/PKGBUILD
index 6bf161811415..a3f9a7bc3481 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,18 +6,16 @@
pkgname=darkice
pkgver=1.3
-pkgrel=1
+pkgrel=2
pkgdesc="Live audio streamer. Reads from audio interface, encodes, sends to streaming server."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://www.darkice.org/"
license=('GPL')
depends=('lame' 'libpulse' 'faac' 'libaacplus' 'jack' 'twolame' 'opus' 'libsamplerate' 'fftw')
-source=('darkice::git+https://github.com/Ouack23/darkice.git#branch=master'
-'https://aur.archlinux.org/cgit/aur.git/plain/service?h=darkice')
+source=('darkice::git+https://github.com/Ouack23/darkice.git#branch=master' 'service')
md5sums=('SKIP' '1c1cde0a5c03a2190a48275c03016eb8')
build() {
- mv "service?h=darkice" service
cd "$srcdir/$pkgname/$pkgname/trunk"
diff --git a/service b/service
new file mode 100644
index 000000000000..5bb64d7d4062
--- /dev/null
+++ b/service
@@ -0,0 +1,10 @@
+[Unit]
+Description=DarkIce Live Stream %i
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/darkice -c /etc/darkice/%i.cfg
+
+[Install]
+WantedBy=multi-user.target