summaryrefslogtreecommitdiff
path: root/community/icecast/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/icecast/PKGBUILD')
-rw-r--r--community/icecast/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/icecast/PKGBUILD b/community/icecast/PKGBUILD
index 2787666ab..a9b3ce358 100644
--- a/community/icecast/PKGBUILD
+++ b/community/icecast/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 72696 2012-06-20 10:14:35Z lfleischer $
+# $Id: PKGBUILD 75222 2012-08-16 11:13:33Z lfleischer $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=icecast
pkgver=2.3.3
-pkgrel=1
+pkgrel=2
pkgdesc='Streaming audio over the Internet'
arch=('i686' 'x86_64')
license=('GPL')
@@ -17,11 +17,13 @@ backup=('etc/icecast.xml'
source=("http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'icecastd'
'icecast.logrotate'
- 'start-by-nobody.patch')
+ 'start-by-nobody.patch'
+ 'icecast.service')
md5sums=('2b5d1b40778922e5f6431b7758c359ad'
'e823c1fdb080aae3d0c54ef8be95f7cb'
'59c6552bcb1dd9fb542af8670dfabd3c'
- 'd8e929d2214123a1954da4383bf16583')
+ 'd8e929d2214123a1954da4383bf16583'
+ 'ada6c389351af0487b5c62198adb4e2f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -47,4 +49,7 @@ package() {
# create log directory
install -d -g99 -o99 "${pkgdir}/var/log/icecast"
+
+ # install systemd unit
+ install -Dm0644 "${srcdir}/icecast.service" "${pkgdir}/usr/lib/systemd/system/icecast.service"
}