summaryrefslogtreecommitdiff
path: root/community-testing/shotwell
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-11 00:01:18 +0000
committerroot <root@rshg054.dnsready.net>2012-04-11 00:01:18 +0000
commit04aff5f70cb7c04abe06ca8eaf8261cbb0eeb378 (patch)
tree4935a4f0959f9560df7fba4989a0de1dc361884e /community-testing/shotwell
parent223ca251f3ce07eb5484be845e631d6ca645b263 (diff)
Wed Apr 11 00:01:18 UTC 2012
Diffstat (limited to 'community-testing/shotwell')
-rw-r--r--community-testing/shotwell/PKGBUILD35
-rw-r--r--community-testing/shotwell/shotwell.install17
2 files changed, 52 insertions, 0 deletions
diff --git a/community-testing/shotwell/PKGBUILD b/community-testing/shotwell/PKGBUILD
new file mode 100644
index 000000000..a10eff80d
--- /dev/null
+++ b/community-testing/shotwell/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 69088 2012-04-09 09:04:50Z jelle $
+# 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.12.1
+pkgrel=1
+pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
+arch=('i686' 'x86_64')
+url="http://yorba.org/shotwell/"
+license=('LGPL2.1')
+depends=('glib2' 'gconf' 'libgee' 'libgphoto2' 'libunique3' 'libwebkit3' 'libgexiv2' 'libraw'
+ 'librsvg' 'json-glib' 'desktop-file-utils' 'dconf' 'sqlite' 'gtk3' 'rest')
+makedepends=('intltool' 'vala')
+install=shotwell.install
+source=("http://yorba.org/download/shotwell/0.12/shotwell-${pkgver}.tar.bz2")
+md5sums=('af2fa1f6d9ee498c0e23c23d8bb9fc7b')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./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
+}
diff --git a/community-testing/shotwell/shotwell.install b/community-testing/shotwell/shotwell.install
new file mode 100644
index 000000000..bab8ecd29
--- /dev/null
+++ b/community-testing/shotwell/shotwell.install
@@ -0,0 +1,17 @@
+pkgname=shotwell
+
+post_install() {
+ gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+ update-desktop-database -q
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}