summaryrefslogtreecommitdiff
path: root/nonprism/eog-plugins/PKGBUILD
blob: 2c5c58477cb12bc2f2740d1e87253af300f72529 (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
40
41
42
43
44
45
# $Id: PKGBUILD 279093 2016-10-21 08:15:28Z heftig $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Márcio Silva <coadde@parabola.nu>

pkgname=eog-plugins
pkgver=3.16.5+2+g3c82109
pkgrel=1.nonprism1
pkgdesc="Plugins for Eye of Gnome, without libgdata support"
arch=(i686 x86_64)
url="https://wiki.gnome.org/Apps/EyeOfGnome/Plugins"
license=(GPL2)
depends=(eog libchamplain python)
makedepends=(intltool gobject-introspection gnome-common git)
_commit=3c82109e35af704aa32b14d84df1e3b3eaa3cad4  # master
conflicts=(${pkgname}-nonprism)
replaces=(${pkgname}-nonprism)
source=("git://git.gnome.org/eog-plugins#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $pkgname
  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd $pkgname
  ./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
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: