updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / nailer / PKGBUILD
blob839ecd27bbbf73bdc5554e61463a8ecb48acf3d6
1 # Contributor: Christoph Zeiler <rabyte*gmail>
2 # Contributor: Mr_Smiley <archlinux__mr-smiley.org> (GConf support)
4 pkgname=nailer
5 pkgver=0.4.3
6 pkgrel=6
7 pkgdesc="A command-line application using MPlayer to generate thumbnails of video files"
8 arch=('i686' 'x86_64')
9 url="http://kdekorte.googlepages.com/"
10 license=('GPL2')
11 depends=('mplayer')
12 makedepends=('pkgconfig>=0.9')
13 install=$pkgname.install
14 source=(http://mplayer-video-thumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz \
15         check-args.diff)
16 md5sums=('d5f0e1bc62a93abe4e312d922e76eb6b'
17          '6862b2893019cb82bc0b90fbae7c6c74')
19 build() {
20   cd $pkgname-$pkgver
22   patch -Np0 -i ../check-args.diff || return 1
23   sed 's|\+ogg||g' -i $pkgname.schemas.in
25   ./configure --prefix=/usr --sysconfdir=/usr/share --disable-static
26   make AM_CFLAGS= || return 1
27   make DESTDIR="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install