blob: f8d93dae6c69d75d3a6ffc8ca999c6ff31b3b829 (
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
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-pygtksourceview2
_pkgname=pygtksourceview
pkgver=2.10.1
pkgrel=1
pkgdesc="Python bindings for gtksourceview2"
url="https://www.gnome.org/"
arch="all"
license="GPL"
depends="python2"
makedepends="gtksourceview2-dev py-gtk-dev python2-dev py-gobject-dev py-gobject-doc"
install=""
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/$_pkgname/2.10/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
default_prepare
update_config_guess
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static
make
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
sha512sums="88c45e8b20e49d41ce5b692df17be9d020d77878cf67f2cd2ed64c93baca4a0619217eca4a460be7a0fedd3bd14877f97e88a82728e113cbdeb31a9e43d97450 pygtksourceview-2.10.1.tar.gz"
|