summaryrefslogtreecommitdiff
path: root/community/vmoviedb/PKGBUILD
blob: 7b6219b26bbc17e7f286d4c6c997f6e3d08df61d (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
# $Id: PKGBUILD 65371 2012-02-21 02:25:52Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=vmoviedb
pkgver=0.1.5
pkgrel=5
pkgdesc="A movie collection manager for the Gnome desktop"
arch=('i686' 'x86_64')
url="http://vmoviedb.sourceforge.net"
license=('GPL')
depends=('libgnomeui' 'gconf>=2.18.0.1-4' 'desktop-file-utils')
makedepends=('gnome-doc-utils>=0.11.2' 'intltool')
install=$pkgname.install
options=('!libtool' '!emptydirs')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7bfc10573bb890f3924755f2446dd3b6')

build() {
  cd $srcdir/vmoviedb-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
  make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install

  mkdir -p $pkgdir/usr/share/gconf/schemas
  gconf-merge-schema $pkgdir/usr/share/gconf/schemas/${pkgname}.schemas \
    $pkgdir/etc/gconf/schemas/*.schemas
  rm -f $pkgdir/etc/gconf/schemas/*.schemas
  mv $pkgdir/usr/doc $pkgdir/usr/share/
}