summaryrefslogtreecommitdiff
path: root/gnome-unstable/gnome-media/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gnome-media/PKGBUILD')
-rw-r--r--gnome-unstable/gnome-media/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnome-unstable/gnome-media/PKGBUILD b/gnome-unstable/gnome-media/PKGBUILD
new file mode 100644
index 000000000..8e8d3da64
--- /dev/null
+++ b/gnome-unstable/gnome-media/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 111636 2011-02-27 21:57:39Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gnome-media
+pkgver=2.91.2
+pkgrel=2
+pkgdesc="GNOME Media Tools"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libgnome-media-profiles' 'libcanberra' 'hicolor-icon-theme')
+makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils')
+url="http://www.gnome.org"
+groups=('gnome')
+replaces=('gnome-media-pulse')
+options=('!libtool' '!emptydirs')
+install=gnome-media.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.91/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('4aadc834d04c3d6f573fad667a69c6dc9668240e759cbd8cfb14d053d8e4da5f')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/gnome-media \
+ --localstatedir=/var --disable-static \
+ --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgbase}.schemas" --domain gnome-media-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+
+ rm -rf "${pkgdir}/usr/share/sounds/"
+}