PKGBUILDs/extra/quodlibet/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
1.2 KiB
Bash

#$Id: PKGBUILD 45294 2009-07-09 02:20:34Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
pkgname=quodlibet
pkgver=2.1
pkgrel=1
pkgdesc="An audio player written in pygtk"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://code.google.com/p/quodlibet/"
depends=('gstreamer0.10-python>=0.10.13-2' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-ugly-plugins' 'mutagen' 'pygtk>=2.13.0-2')
makedepends=('intltool')
optdepends=('gstreamer0.10-ffmpeg: for ffmpeg (ASF/WMA) support ' 'gstreamer0.10-bad-plugins: for MPEG-4 (AAC) and Musepack support' 'dbus-python: for dbus support' 'libgpod: for ipod support' 'python-feedparser: for audio feeds (podcast) support' 'hal: for media devices support')
options=('!makeflags')
source=(http://quodlibet.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('abd362699a7118c7720c13fbda0c8c9e')
sha1sums=('15a40c054955d1ad539432a265b2c96225b864c2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./setup.py build || return 1
./setup.py install --prefix="${pkgdir}/usr" || return 1
install -D -m644 quodlibet/images/exfalso.png "${pkgdir}/usr/share/pixmaps/exfalso.png" || return 1
install -D -m644 quodlibet/images/quodlibet.png "${pkgdir}/usr/share/pixmaps/quodlibet.png" || return 1
}