summaryrefslogtreecommitdiff
path: root/community/geany-plugins/PKGBUILD
blob: 5efc9f9514d8fdd9fa6612a99386ea1bb81af0fd (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 57822 2011-11-03 10:07:17Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>  
# Contributor: djgera
# Contributor: Patrick Melo <patrick@patrickmelo.eti.br>
pkgname=geany-plugins
pkgver=0.21
pkgrel=2
pkgdesc="Combined plugins release for Geany"
arch=('x86_64' 'i686')
url="http://plugins.geany.org/"
license=('GPL')
depends=('geany' 'lua' 'gtkspell' 'libwebkit' 'hicolor-icon-theme' 'ctpl' 'gpgme')
makedepends=('intltool')
optdepends=('hspell: hebrew spell checker')
conflicts=('geany-plugins-svn')
install=geany-plugins.install
source=("http://plugins.geany.org/geany-plugins/$pkgname-$pkgver.tar.bz2")
md5sums=('22e106d7a026e720dd91feb79e44456f')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --libexecdir=/usr/lib
  make 
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  rmdir \
    "$pkgdir/usr/share/geany-plugins/devhelp" \
    "$pkgdir/usr/share/doc/geany-plugins/devhelp" \
    "$pkgdir/usr/share/geany-plugins/debugger" \
    "$pkgdir/usr/share/doc/geany-plugins/debugger"
}

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