From 0be822175bb3cef0534b9a0597e84ae1ee6374ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Thu, 4 Sep 2014 01:57:36 -0300 Subject: remove nonprism suffix and add complex pkgrel on nonprism packages --- nonprism/shotwell/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 nonprism/shotwell/PKGBUILD (limited to 'nonprism/shotwell/PKGBUILD') diff --git a/nonprism/shotwell/PKGBUILD b/nonprism/shotwell/PKGBUILD new file mode 100644 index 000000000..598973b01 --- /dev/null +++ b/nonprism/shotwell/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 114629 2014-07-02 10:24:53Z spupykin $ +# Maintainer (Arch): Sergej Pupykin +# Maintainer (Arch): Ionut Biru +# Contributor (Arch): Joeny Ang +# Maintainer: André Silva +# Contributor: Márcio Silva + +pkgname=shotwell +pkgver=0.18.1 +pkgrel=1.nonprism1 +pkgdesc="A digital photo organizer designed for the GNOME desktop environment, without support for unsafe and dangerous for privacy protocols" +arch=('i686' 'x86_64' 'mips64el') +url="http://yorba.org/shotwell/" +license=('LGPL2.1') +replaces=(${pkgname}-nonprism) +conflicts=(${pkgname}-nonprism) +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=('361eeef67f5aaed36ec44b12cfd675b3' + 'b6c67e76af91be99852310e9c2be5ffa') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/nonprism.patch + + cd po + for file in *.po; do + intltool-update ${file%.*} + msgattrib --no-obsolete -o $file $file + done +} + +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 +} -- cgit v1.2.3-2-g168b