summaryrefslogtreecommitdiff
path: root/nonprism/shotwell-nonprism/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/shotwell-nonprism/PKGBUILD')
-rw-r--r--nonprism/shotwell-nonprism/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/nonprism/shotwell-nonprism/PKGBUILD b/nonprism/shotwell-nonprism/PKGBUILD
new file mode 100644
index 000000000..640d1916b
--- /dev/null
+++ b/nonprism/shotwell-nonprism/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 107774 2014-03-19 12:02:19Z 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>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+# Contributor (Parabola): Márcio Silva <coadde@parabola.nu>
+
+_pkgname=shotwell
+pkgname=shotwell-nonprism
+pkgver=0.18.0
+pkgrel=1
+pkgdesc="A digital photo organizer designed for the GNOME desktop environment, without support for unsafe and dangerous for privacy protocols"
+arch=('i686' 'x86_64')
+url="http://yorba.org/shotwell/"
+license=('LGPL2.1')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+depends=('libgee' 'webkitgtk' 'libgexiv2' 'libraw' 'rest'
+ 'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'json-glib'
+ 'gst-plugins-base' 'libgphoto2')
+makedepends=('intltool' 'vala>=0.17.2' 'libunique3' 'gnome-doc-utils')
+install=shotwell.install
+source=("https://download.gnome.org/sources/shotwell/0.18/shotwell-$pkgver.tar.xz"
+ 'nonprism.patch')
+md5sums=('856b69fe67bc8bd42a6985e042041daf'
+ 'b6c67e76af91be99852310e9c2be5ffa')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/nonprism.patch
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure --prefix=/usr --libexec=/usr/lib/shotwell \
+ --disable-schemas-compile \
+ --disable-desktop-update \
+ --disable-icon-update \
+ --disable-extra-plugins-install
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}