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

31 lines
1.2 KiB
Bash

# $Id: PKGBUILD 46510 2009-07-18 18:03:57Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-media
pkgver=2.26.0
pkgrel=1
pkgdesc="GNOME Media Tools"
arch=(i686 x86_64)
license=('GPL')
depends=('libgnomeui>=2.24.1' 'gstreamer0.10-good-plugins' 'gstreamer0.10-base-plugins' 'libcanberra')
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0' 'libunique')
url="http://www.gnome.org"
groups=('gnome')
options=('!libtool' '!emptydirs')
install=gnome-media.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3d519bc7d812aed8f6e4288b6d3cdf26')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gnome-media \
--localstatedir=/var --disable-static \
--disable-scrollkeeper || return 1
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-media-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}