summaryrefslogtreecommitdiff
path: root/community/geany-plugins/PKGBUILD
blob: 37d5af3d253b4cc33fa732f4262359ef6baf1224 (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 57206 2011-10-24 12:59:03Z 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=1
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: