updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / gnome-web-photo / PKGBUILD
blobd28884c9680cff42193135506bb740f611307885
1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # http://github.com/fukawi2/aur-packages
3 # Contributor: György Balló <ballogy@freestart.hu>
4 # Contributor: Adam <adam@russ.co.il>
6 ### I AM ONLY THE PACKAGER, NOT THE DEVELOPER
7 ### Please ask support questions about this software in one of:
8 ###   1) The AUR comments; OR
9 ###   2) Upstream forums/maillist etc; OR
10 ###   3) The ArchLinux forums
11 ### I do not always know enough about the software itself, or don't have the
12 ### time to promptly respond to direct emails.
13 ### If you have found a problem with the package/PKGBUILD (as opposed to
14 ### the software) then please do email me or post an AUR comment.
16 pkgname=gnome-web-photo
17 pkgver=0.10.5
18 _pkgverminor=0.10
19 pkgrel=1
20 pkgdesc="a tool to generate full-size image files and thumbnails from HTML files and web pages"
21 url="http://git.gnome.org/browse/gnome-web-photo/"
22 license=("LGPL")
23 arch=('i686' 'x86_64')
24 depends=('libwebkit' 'gconf' 'pkg-config')
25 makedepends=('intltool>=0.35.0')
26 install="$pkgname.install"
27 source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/$_pkgverminor/$pkgname-$pkgver.tar.xz")
28 md5sums=('d842a49a65853ef9b1e3e54f55752ba2')
30 build() {
31   cd "$srcdir/$pkgname-$pkgver"
33   # Thx to György Balló
34   sed -e 's/--cflags-only-I libxul-unstable libxul/--cflags-only-I libxul/' \
35       -i configure
37   ./configure \
38     --prefix=/usr \
39     --sysconfdir=/etc \
40     --localstatedir=/var \
41     --libexecdir=/usr/bin \
42     --with-gtk=2.0 \
43     --disable-static \
44     --disable-schemas-install \
45     --with-gconf-schema-file-dir=/usr/share/gconf/schemas
46   
47   make
50 package() {
51   cd "$srcdir/$pkgname-$pkgver"
52   
53   make DESTDIR="$pkgdir" install
56 # vim:set ts=2 sw=2 et: