summaryrefslogtreecommitdiff
path: root/community-staging/shotwell/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/shotwell/PKGBUILD')
-rw-r--r--community-staging/shotwell/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community-staging/shotwell/PKGBUILD b/community-staging/shotwell/PKGBUILD
new file mode 100644
index 000000000..e24a323c7
--- /dev/null
+++ b/community-staging/shotwell/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 56227 2011-10-03 15:36:43Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+
+pkgname=shotwell
+pkgver=0.11.2
+pkgrel=2
+pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
+arch=('i686' 'x86_64')
+url="http://yorba.org/shotwell/"
+license=('LGPL2.1')
+depends=('gconf' 'libgee' 'libgphoto2' 'libunique3' 'libwebkit3' 'libgexiv2' 'libraw'
+ 'librsvg' 'json-glib' 'desktop-file-utils' 'dconf')
+makedepends=('intltool' 'vala')
+install=shotwell.install
+source=("http://yorba.org/download/shotwell/0.11/shotwell-${pkgver}.tar.bz2"
+ "http://arch.p5n.pp.ru/~sergej/dl/shotwell-gtk3.patch.gz")
+md5sums=('bbb479eaa4bbcf67d8ff454b406ed249'
+ 'e9ac0d9d818242220f0f788c493e453d')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 <$srcdir/shotwell-gtk3.patch
+ ./configure --prefix=/usr \
+ --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
+ --disable-schemas-install \
+ --disable-desktop-update \
+ --disable-icon-update
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ rm -f $pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled
+}