summaryrefslogtreecommitdiff
path: root/nonprism/eog-plugins/PKGBUILD
blob: 4bc4087282ec03d9dca1f13d42463dce77814ab1 (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
# $Id: PKGBUILD 241773 2015-07-03 21:21:42Z heftig $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Márcio Silva <coadde@parabola.nu>

pkgname=eog-plugins
pkgver=3.16.0
pkgrel=2.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' 'python')
makedepends=('intltool' 'gobject-introspection')
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=('6fab1c1e0705fc2b0e4a63caf3ba1c5b64b4eaa1301e4cbc04bb934428b68450')

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: