diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /testing/streamtuner/PKGBUILD | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'testing/streamtuner/PKGBUILD')
-rw-r--r-- | testing/streamtuner/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/streamtuner/PKGBUILD b/testing/streamtuner/PKGBUILD new file mode 100644 index 000000000..ba6812d9c --- /dev/null +++ b/testing/streamtuner/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 148313 2012-01-30 18:50:49Z ibiru $ +# Contributor: Greg Grabinski <greg@grabinski.ch> +# Maintainer: ndreas Radke <andyrtr@archlinux.org> + +pkgname=streamtuner +pkgver=0.99.99 +pkgrel=12 +pkgdesc="A stream directory browser" +arch=('i686' 'x86_64') +url="http://www.nongnu.org/streamtuner/" +license=('custom') +depends=('taglib' 'libxml2' 'gtk2' 'curl>=7.16.2' 'pygtk>=2.13.0-2') +conflicts=('streamtuner-live365') +replaces=('streamtuner-live365') +source=(http://savannah.nongnu.org/download/streamtuner/$pkgname-$pkgver.tar.gz \ + http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99-live365.diff \ + http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99-pygtk-2.6.diff + streamtuner-0.99.99-shoutcast.diff + shoutcast-redesign-patch.diff) +options=('!libtool' '!emptydirs') +md5sums=('2027b7c34e85b594524b0b4351c14362' + '8aa1994a849b05d2b8fffbda702b8a25' + '7aff45a41c60358cb2332c7ce644f661' + '1eab6edce130e1a1e5f208cd3ed6766a' + '8a3a17a1719a79353d6ad7ac8564947b') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -p0 -i ${srcdir}/streamtuner-0.99.99-live365.diff + patch -p0 -i ${srcdir}/streamtuner-0.99.99-pygtk-2.6.diff + # fix http://bugs.archlinux.org/task/10308 + patch -p0 -i ${srcdir}/streamtuner-0.99.99-shoutcast.diff + # fix http://bugs.archlinux.org/task/11463 + patch -p1 -i ${srcdir}/shoutcast-redesign-patch.diff + + # python2 fixes + sed -i "s:^for ac_prog in python:for ac_prog in python2:" ${srcdir}/${pkgname}-${pkgver}/configure + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make prefix=${pkgdir}/usr install + + #Add license file + install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING +} |