updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / streamtuner2 / PKGBUILD
blob40ac729485e298af8f2920225d115ce65b0ab3e3
1 # Contributor: wido <widomaker2k7@gmail.com>
2 # Maintainer: Luca Bennati <lucak3 AT gmail DOT com>
4 pkgname=streamtuner2
5 pkgver=2.0.8
6 pkgrel=5
7 pkgdesc="An internet radio browser"
8 arch=('any')
9 url="http://sourceforge.net/projects/streamtuner2"
10 license=('custom')
11 depends=('python2' 'pygtk' 'libglade' 'pyxdg' 'python-imaging' 'python-keybinder' 'python-lxml')
12 makedepends=('libarchive')
13 conflicts=('streamtuner')
14 source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.rpm")
15 md5sums=('e080be5bf510dc32be75686d1ac50a7a')
17 package() {
18   cd "${pkgdir}"
19   bsdcpio -id -I "${srcdir}/${pkgname}-${pkgver}.rpm"
20   # python2 fix
21   sed -i 's:^#!.*/usr/bin/env.*python:#!/usr/bin/env python2:' "${pkgdir}/usr/bin/streamtuner2"
24 # vim:set ts=2 sw=2 et: