PKGBUILDs/community/music-applet/PKGBUILD

36 lines
1.2 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=music-applet
pkgver=2.5.1
pkgrel=1
pkgdesc="A small, simple GNOME panel applet that lets you control a variety of different music players"
arch=('i686' 'x86_64')
url="http://www.kuliniewicz.org/music-applet/"
license=('GPL')
depends=('gnome-panel' 'eel' 'pygtk' 'gconf>=2.18.0.1-4' 'hicolor-icon-theme' 'dbus-python')
makedepends=('perlxml' 'gnome-doc-utils>=0.11.2')
install=$pkgname.install
source=(http://www.kuliniewicz.org/music-applet/downloads/$pkgname-$pkgver.tar.gz)
options=('!libtool' '!emptydirs')
md5sums=('2cd43e4b6d93d8ca552fa239c44c65d3')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/music-applet \
--disable-scrollkeeper \
--with-dbus
make || return 1
make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$startdir/pkg install || return 1
mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas \
${startdir}/pkg/etc/gconf/schemas/*.schemas
rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
}