summaryrefslogtreecommitdiff
path: root/extra/gnome-photos
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnome-photos')
-rw-r--r--extra/gnome-photos/PKGBUILD33
-rw-r--r--extra/gnome-photos/gnome-photos.install12
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/gnome-photos/PKGBUILD b/extra/gnome-photos/PKGBUILD
new file mode 100644
index 000000000..45e7aedc5
--- /dev/null
+++ b/extra/gnome-photos/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 183480 2013-04-21 22:20:19Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=gnome-photos
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="Access, organize, and share your photos on GNOME"
+arch=(i686 x86_64)
+url="https://www.gnome.org/"
+license=(GPL)
+depends=(exempi gtk3 libexif librsvg babl gegl gnome-desktop gnome-online-accounts lcms2 tracker hicolor-icon-theme)
+makedepends=(intltool)
+options=(!libtool)
+groups=(gnome-extra)
+install=gnome-photos.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver::3}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('d5a42a6562eb2bebd404f1b932e105572e64abb0e3160b2834c7898cf090f3de')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/extra/gnome-photos/gnome-photos.install b/extra/gnome-photos/gnome-photos.install
new file mode 100644
index 000000000..847019792
--- /dev/null
+++ b/extra/gnome-photos/gnome-photos.install
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}