summaryrefslogtreecommitdiff
path: root/nonprism/eog-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/eog-plugins')
-rw-r--r--nonprism/eog-plugins/PKGBUILD36
-rw-r--r--nonprism/eog-plugins/eog-plugins.install11
2 files changed, 47 insertions, 0 deletions
diff --git a/nonprism/eog-plugins/PKGBUILD b/nonprism/eog-plugins/PKGBUILD
new file mode 100644
index 000000000..78ff2bd78
--- /dev/null
+++ b/nonprism/eog-plugins/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 210576 2014-04-15 08:00:45Z jgc $
+# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=eog-plugins
+pkgver=3.12.1
+pkgrel=1.nonprism1
+pkgdesc="Plugins for Eye of Gnome, without libgdata support"
+arch=('i686' 'x86_64' 'mips64el')
+url="https://wiki.gnome.org/Apps/EyeOfGnome/Plugins"
+license=('GPL2')
+depends=('eog' 'libchamplain')
+makedepends=('intltool')
+conflicts=(${pkgname}-nonprism)
+replaces=(${pkgname}-nonprism)
+install=eog-plugins.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('5b9a6854d5411e75aadb9d44694bbe02a35f5a79a23da5c1bb4feb6bacf56f1c')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc --localstatedir=/var
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/nonprism/eog-plugins/eog-plugins.install b/nonprism/eog-plugins/eog-plugins.install
new file mode 100644
index 000000000..24072f316
--- /dev/null
+++ b/nonprism/eog-plugins/eog-plugins.install
@@ -0,0 +1,11 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}