void-packages/srcpkgs/pygtksourceview/template

23 lines
775 B
Bash

# Template file for 'pygtksourceview'
pkgname=pygtksourceview
version=2.10.1
revision=5
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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/${pkgname}/2.10/${pkgname}-${version}.tar.bz2"
checksum=b4b47c5aeb67a26141cb03663091dfdf5c15c8a8aae4d69c46a6a943ca4c5974
lib32disabled=yes
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i "s;PYTHON_INCLUDES=.*;PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7;g" configure
fi
}