blob: eb1d49c1e7b7058fded6e01c45b2410f430eac22 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-gobject3
pkgver=3.24.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 python2-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"
CFLAGS="$CFLAGS -D_GNU_SOURCE" ./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
}
sha512sums="f35968ab12b872c85af6b2410cadedcf9fa7e17352a40f3dc557c86203aa1c38753710aab9ce55e986ee2c98b64e14123c65083655445e993d0b53431db6dc93 pygobject-3.24.1.tar.xz"
|