diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/shotwell |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/shotwell')
-rw-r--r-- | community/shotwell/PKGBUILD | 33 | ||||
-rw-r--r-- | community/shotwell/shotwell.install | 24 |
2 files changed, 57 insertions, 0 deletions
diff --git a/community/shotwell/PKGBUILD b/community/shotwell/PKGBUILD new file mode 100644 index 000000000..9f2032eff --- /dev/null +++ b/community/shotwell/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 43057 2011-03-23 21:47:11Z 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.9.0 +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=('gconf' 'libgee' 'libgphoto2' 'libunique' 'libwebkit' 'libgexiv2' 'libraw' 'librsvg' 'json-glib' + 'desktop-file-utils' 'gnome-vfs') +makedepends=('intltool' 'vala') +install=shotwell.install +source=(http://yorba.org/download/shotwell/0.9/${pkgname}-${pkgver}.tar.bz2) +md5sums=('6701d9a7c0a2f4f720fdeed1d6e54758') + +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 +} diff --git a/community/shotwell/shotwell.install b/community/shotwell/shotwell.install new file mode 100644 index 000000000..ceac19051 --- /dev/null +++ b/community/shotwell/shotwell.install @@ -0,0 +1,24 @@ +pkgname=shotwell + +post_install() { + gtk-update-icon-cache -fq -t usr/share/icons/hicolor + usr/sbin/gconfpkg --install ${pkgname} + update-desktop-database -q +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} + update-desktop-database -q +} + +post_remove() { + gtk-update-icon-cache -fq -t usr/share/icons/hicolor +} |