blob: 578b4533b78604d3a662aae72015eb57d3e8759b (
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
39
40
41
42
43
44
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-gobject3
pkgver=3.12.1
pkgrel=0
pkgdesc="Python bindings for the GObject library"
url="http://www.pygtk.org/"
arch="all"
license="GPL"
depends="py-cairo"
depends_dev="libffi-dev glib-dev"
makedepends="$depends_dev python-dev py-cairo-dev gobject-introspection-dev"
install=
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.xz"
_builddir="$srcdir"/pygobject-$pkgver
prepare() {
cd "$_builddir"
# apply patches here
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-compile-warnings=minimum \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
find $pkgdir -name "*.la" -print0 | xargs -0 rm -f
}
md5sums="8608682f221feaac81adb3f4e40dbef3 pygobject-3.12.1.tar.xz"
sha256sums="da5fe04759e862d347b26b53a6aea0affa7cbe858b7004475fa8c7929496da35 pygobject-3.12.1.tar.xz"
sha512sums="095754d06507bb5c5d802603d8fd97fabcc3057172f1fe6f34138e9553281cc7b474a0dd9f235678718eccc4f7adee38b10ec1365d5fd8c4c61a47e4a24fd5a1 pygobject-3.12.1.tar.xz"
|