summaryrefslogtreecommitdiff
path: root/testing/pygtksourceview2/PKGBUILD
blob: 15feea29dabdb4b3376ab26bf124631c45f83162 (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
# $Id: PKGBUILD 148267 2012-01-30 18:49:39Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pygtksourceview2
pkgver=2.10.1
pkgrel=4
pkgdesc="Python bindings for gtksourceview2"
arch=(i686 x86_64)
license=('GPL')
depends=('gtksourceview2>=2.10.0' 'pygtk>=2.17.0')
makedepends=('intltool' 'pkg-config')
options=('!libtool')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-${pkgver}.tar.bz2)
sha256sums=('b4b47c5aeb67a26141cb03663091dfdf5c15c8a8aae4d69c46a6a943ca4c5974')

build() {
  cd "${srcdir}/pygtksourceview-${pkgver}"
  PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static --disable-docs
  make
}

package() {
  cd "${srcdir}/pygtksourceview-${pkgver}"
  make DESTDIR="${pkgdir}" install
}