summaryrefslogtreecommitdiff
path: root/extra/libgnome-media-profiles/PKGBUILD
blob: ee4b19be58885d1ff5f19695a46e2f733ecdf275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 117708 2011-04-04 16:55:18Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=libgnome-media-profiles
pkgver=3.0.0
pkgrel=2
pkgdesc=""
arch=(i686 x86_64 'mips64el')
url="http://www.gnome.org"
license=('GPL2')
depends=('gconf' 'gtk3' 'gstreamer0.10-base-plugins')
makedepends=('intltool' 'gnome-doc-utils')
options=('!emptydirs' '!libtool')
install=libgnome-media-profiles.install
source=(http://download.gnome.org/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('ab1288e53a8fccca3e8fa59757ef586901e236e09a737a1178eeb8d74428c061')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --sysconfdir=/etc \
    --disable-static -disable-scrollkeeper \
    --disable-schemas-install
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-audio-profiles "${pkgdir}"/etc/gconf/schemas/*.schemas
  rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}

# vim:set ts=2 sw=2 et: