aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pygtksourceview2/APKBUILD
blob: f23d9bc3c4cc7d8b3a8e8947fa673c38d200e7f3 (plain) (blame)
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
40
# 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="python"
makedepends="gtksourceview2-dev py-gtk-dev python-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"