void-packages/srcpkgs/pygtksourceview/template
2015-10-05 00:50:36 -04:00

22 lines
763 B
Bash

# Template file for 'pygtksourceview'
pkgname=pygtksourceview
version=2.10.1
revision=4
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static --disable-docs"
hostmakedepends="pkg-config intltool python-devel pygtk-devel"
makedepends="python-devel gtksourceview2-devel pygtk-devel"
depends="pygtk"
short_desc="Python bindings for gtksourceview2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/2.10/${pkgname}-${version}.tar.bz2"
checksum=b4b47c5aeb67a26141cb03663091dfdf5c15c8a8aae4d69c46a6a943ca4c5974
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i "s;PYTHON_INCLUDES=.*;PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7;g" configure
fi
}