updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / viridian / PKGBUILD
blob4f70c9924069823798bd405a567b8398f2b14900
1 # Maintainer: Jože Prijatelj <frojnd AT frojnd.dyndns.org>
2 pkgname=viridian
3 _pkgname=Viridian
4 pkgver=1.2
5 pkgrel=2
6 pkgdesc="Ampache front-end"
7 arch=(any)
8 url="https://launchpad.net/viridianplayer"
9 license=('GPL')
10 depends=("dbus-python" "gstreamer0.10-python" "python2" "pygtk")
11 makedepends=("python2")
12 source=("http://launchpad.net/viridianplayer/trunk/1.2-release/+download/$_pkgname-$pkgver.tar.gz"
13         "viridian.desktop")
14 md5sums=('f16aa9505159a21aefe6bf7366b9a764'
15          '6545dbfd1fa18e69eae1bc7db71a6168')
17 package() {
18   cd "$srcdir/$_pkgname-$pkgver"
19   python2 setup.py install --root=$pkgdir/ --optimize=1
20   install -d -m755 "${pkgdir}/usr/share/icons/"
21   install -d -m755 "${pkgdir}/usr/share/applications/"
22   # Install the icons
23   cp "ViridianApp.svg" "${pkgdir}/usr/share/icons/"
24   cp "ViridianApp.png" "${pkgdir}/usr/share/icons/"
25   # Install the .desktop menu item
26   cp "../viridian.desktop" "${pkgdir}/usr/share/applications/"