summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e88da4c8e27afb639614702dce78efea7348a971 (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
# Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
# {former}Maintainer: youngunix <zagazaw2004 () gmail ()>
# {former}Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: eht16 <enrico.troeger@uvena.de>
# Contributor: Addict7 <nicolasfloquet@gmail.com>

pkgname=geany-plugins-git
pkgver=1.32.0.r61.g7460d36a
pkgrel=1
pkgdesc='Various plugins for Geany'
arch=('x86_64' 'i686')
url='https://plugins.geany.org/'
license=('GPL')
depends=('geany-git' 'vte' 'lua' 'ctpl' 'gpgme' 'gtkspell' 'hicolor-icon-theme')
makedepends=('git' 'libtool' 'python' 'gpgme' 'ctpl' 'lua' 'gtkspell' 'intltool')
provides=('geany-plugins')
conflicts=('geany-plugins-svn' 'geany-plugins')
source=('git+https://github.com/geany/geany-plugins.git')
md5sums=('SKIP')

pkgver() {
  cd geany-plugins
  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd geany-plugins
  ./autogen.sh

  # To enable "spellcheck", first execute:
  #     sudo ln -s /usr/lib/pkgconfig/enchant-2.pc /usr/lib/pkgconfig/enchant.pc

  ./configure --prefix=/usr --disable-geanypy #--disable-spellcheck
  make build
}

package() {
  cd geany-plugins
  make install DESTDIR="$pkgdir"
}

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