summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorΝικόλαος Κυριάκος Φυτίλης2016-08-09 11:26:09 +0300
committerΝικόλαος Κυριάκος Φυτίλης2016-08-09 11:26:09 +0300
commite18a5a0f258f6287772449d54d1683da7182da45 (patch)
tree0c2ff858c384186afcc1272851928be09c88a8dd /PKGBUILD
downloadaur-e18a5a0f258f6287772449d54d1683da7182da45.tar.gz
auto - see github.com/nicman23/mate_arch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c83e899d49a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Νικόλαος Κυριάκος Φυτίλης <n-fit@live.com>
+# Contributor: eadrom <eadrom@archlinux.info>
+# Contributor: Martin Wimpress <code@flexion.org>
+
+_ver=1.15
+_pkgbase=eom
+pkgname="${_pkgbase}-dev"
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="An image viewing and cataloging program for MATE"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+provides=("${_pkgbase}" "${_pkgbase}-gtk3")
+conflicts=("${_pkgbase}" "${_pkgbase}-gtk3")
+license=('GPL')
+depends=('dbus-glib' 'desktop-file-utils' 'glib2' 'gobject-introspection-runtime'
+ 'gtk3' 'gtk-update-icon-cache' 'exempi' 'lcms2' 'libexif' 'libjpeg-turbo'
+ 'librsvg' 'mate-desktop-dev' 'pygtk' 'python2-gobject2'
+ 'startup-notification' 'zlib')
+makedepends=('gobject-introspection' 'mate-common' 'yelp-tools' 'gtk3' 'mate-desktop-dev')
+optdepends=('yelp: for reading MATE help documents')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('2c52fded9b5c4b6967113727ba0047590b1415ca')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${_pkgbase}-${pkgver}" "${_pkgbase}-gtk3"
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --with-gtk=3.0 \
+ --with-librsvg \
+ --disable-python
+ make
+}
+
+package() {
+ pkgdesc+=' (GTK3 version)'
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}