diff options
author | root <root@rshg054.dnsready.net> | 2012-06-22 00:01:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-22 00:01:45 +0000 |
commit | fb930f28bff4a4b4b37444e3f570904d6db3d06e (patch) | |
tree | bb84b848119e7cb7050f05dd3ea2478c8ada7cf0 /community/icecast/PKGBUILD | |
parent | 6d22541bcebb7236bedfb98a96d5a1292072e86c (diff) |
Fri Jun 22 00:01:45 UTC 2012
Diffstat (limited to 'community/icecast/PKGBUILD')
-rw-r--r-- | community/icecast/PKGBUILD | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/community/icecast/PKGBUILD b/community/icecast/PKGBUILD index bb6f410f9..2787666ab 100644 --- a/community/icecast/PKGBUILD +++ b/community/icecast/PKGBUILD @@ -1,54 +1,50 @@ -# $Id: PKGBUILD 46955 2011-05-13 20:41:15Z andrea $ +# $Id: PKGBUILD 72696 2012-06-20 10:14:35Z lfleischer $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> # Contributor: Jason Chu <jchu@xentac.net> pkgname=icecast -pkgver=2.3.2 -pkgrel=5 -pkgdesc="Streaming audio over the Internet" +pkgver=2.3.3 +pkgrel=1 +pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL') -url="http://www.icecast.org/" +url='http://www.icecast.org/' depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora') backup=('etc/icecast.xml' 'etc/logrotate.d/icecast') source=("http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz" - 'icecastd' 'icecast.logrotate' + 'icecastd' + 'icecast.logrotate' 'start-by-nobody.patch') -md5sums=('ff516b3ccd2bcc31e68f460cd316093f' +md5sums=('2b5d1b40778922e5f6431b7758c359ad' 'e823c1fdb080aae3d0c54ef8be95f7cb' '59c6552bcb1dd9fb542af8670dfabd3c' 'd8e929d2214123a1954da4383bf16583') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i ${srcdir}/start-by-nobody.patch + patch -Np1 -i "${srcdir}/start-by-nobody.patch" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname}-${pkgver}" - # install man-page + make DESTDIR="${pkgdir}" install + + # install man page sed -i -e 's/icecast2/icecast/g' debian/icecast2.1 - install -Dm644 debian/icecast2.1 \ - ${pkgdir}/usr/share/man/man1/icecast.1 - - # init file - install -Dm755 ${srcdir}/icecastd \ - ${pkgdir}/etc/rc.d/icecast - # rotate the logs (taken from Fedora) - install -Dm644 ${srcdir}/icecast.logrotate \ - ${pkgdir}/etc/logrotate.d/icecast - - # install log dir - install -d -g99 -o99 ${pkgdir}/var/log/icecast + install -Dm644 debian/icecast2.1 "${pkgdir}/usr/share/man/man1/icecast.1" + + # install rc.d script and logrotate config (taken from Fedora) + install -Dm755 "${srcdir}/icecastd" "${pkgdir}/etc/rc.d/icecast" + install -Dm644 "${srcdir}/icecast.logrotate" "${pkgdir}/etc/logrotate.d/icecast" + + # create log directory + install -d -g99 -o99 "${pkgdir}/var/log/icecast" } |