summaryrefslogtreecommitdiff
path: root/nonprism/eog-plugins-nonprism/PKGBUILD
blob: 7c889280b7ad711e44b303f9fcb48bf9edbfc02a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id: PKGBUILD 194995 2013-09-24 13:10:42Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>

_pkgname=eog-plugins
pkgname=eog-plugins-nonprism
pkgver=3.10.0
pkgrel=1
pkgdesc="Plugins for Eye of Gnome, without libgdata support"
arch=('i686' 'x86_64')
url="http://www.gnome.org/"
license=('GPL2')
depends=('eog' 'libchamplain')
makedepends=('intltool')
provides=("$_pkgname=$pkgver")
conflicts=$_pkgname
replaces=$_pkgname
install=eog-plugins.install
options=('!libtool')
source=(http://download.gnome.org/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz)
sha256sums=('0e6699c45181264e87f34a6eb03deeadfd5d73e35995772b7afc803e8218906d')

build() {
  cd $_pkgname-$pkgver
  PYTHON=/usr/bin/python2 ./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: