summaryrefslogtreecommitdiff
path: root/extra/timidity++
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-23 00:03:08 +0000
committerroot <root@rshg054.dnsready.net>2012-08-23 00:03:08 +0000
commitc40883520f917311c212dc4a22e86be30cef658f (patch)
treeef8badd68c32564574e9b9317db1884fdaf98d2f /extra/timidity++
parent297a042ac9a7bbd2b18a9551f5fa4fe43faf53b2 (diff)
Thu Aug 23 00:03:08 UTC 2012
Diffstat (limited to 'extra/timidity++')
-rw-r--r--extra/timidity++/PKGBUILD10
-rw-r--r--extra/timidity++/timidity.service9
2 files changed, 15 insertions, 4 deletions
diff --git a/extra/timidity++/PKGBUILD b/extra/timidity++/PKGBUILD
index 253bd1146..37f707e9e 100644
--- a/extra/timidity++/PKGBUILD
+++ b/extra/timidity++/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 163107 2012-07-07 06:45:30Z eric $
+# $Id: PKGBUILD 165513 2012-08-21 19:57:50Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=timidity++
pkgver=2.14.0
-pkgrel=1
+pkgrel=3
pkgdesc="A MIDI to WAVE converter and player"
arch=('i686' 'x86_64')
url="http://timidity.sourceforge.net"
@@ -14,10 +14,11 @@ optdepends=('gtk2: for using the GTK+ interface' 'tk: for using the Tk interface
'xaw3d: for using the Xaw interface')
backup=('etc/timidity++/timidity.cfg')
source=(http://downloads.sourceforge.net/timidity/TiMidity++-${pkgver}.tar.xz \
- timidity.cfg timidity++.sh)
+ timidity.cfg timidity++.sh timidity.service)
sha1sums=('15ec27f1ea3e718a8d61603521fc16df5c0dd24b'
'660b3afbb720d26e8f008034cee66dd8da082d6e'
- '9f3e732a7ca1e97119a76df62ecf154df04d4f77')
+ '9f3e732a7ca1e97119a76df62ecf154df04d4f77'
+ 'f0351b9eb8928d3d82c380107654a7dbe7cd2d54')
build() {
cd "${srcdir}/TiMidity++-${pkgver}"
@@ -33,4 +34,5 @@ package() {
make DESTDIR="${pkgdir}" install
install -D -m644 ../timidity.cfg "${pkgdir}/etc/timidity++/timidity.cfg"
install -D -m755 ../timidity++.sh "${pkgdir}/etc/rc.d/timidity++"
+ install -D -m644 ../timidity.service "${pkgdir}/usr/lib/systemd/system/timidity.service"
}
diff --git a/extra/timidity++/timidity.service b/extra/timidity++/timidity.service
new file mode 100644
index 000000000..4d6ceea6a
--- /dev/null
+++ b/extra/timidity++/timidity.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=TiMidity++ Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/timidity -iA
+
+[Install]
+WantedBy=multi-user.target