mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py-pygtksourceview2
|
|
_pkgname=pygtksourceview
|
|
pkgver=2.10.1
|
|
pkgrel=0
|
|
pkgdesc="Python bindings for gtksourceview2"
|
|
url="http://www.gnome.org"
|
|
arch="all"
|
|
license="GPL"
|
|
depends="python2"
|
|
makedepends="gtksourceview2-dev py-gtk-dev python2-dev py-gobject-dev"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.gnome.org/sources/$_pkgname/2.10/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare || return 1
|
|
update_config_guess || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
md5sums="7a4dd87a515374637e1acf0b340eaa92 pygtksourceview-2.10.1.tar.gz"
|
|
sha256sums="2ae9356b0b189e7ebf61e366152aac0a471b17b4ddead5bf747bf4c912a0d698 pygtksourceview-2.10.1.tar.gz"
|
|
sha512sums="88c45e8b20e49d41ce5b692df17be9d020d77878cf67f2cd2ed64c93baca4a0619217eca4a460be7a0fedd3bd14877f97e88a82728e113cbdeb31a9e43d97450 pygtksourceview-2.10.1.tar.gz"
|