blob: 712dc916d7876d5e811293a4d53831280055da55 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-gobject3
pkgver=3.20.0
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"
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
}
md5sums="ebb9e5c75ff6405a4f6d017a5766c205 pygobject-3.20.0.tar.xz"
sha256sums="31ab4701f40490082aa98af537ccddba889577abe66d242582f28577e8807f46 pygobject-3.20.0.tar.xz"
sha512sums="a9eba7bcb9a1f1802fb872fcbd353643f7d18e69eef28731e3440c563199ccdde954881356dd10a294b7edc7195829b81d3a3a66cf306bb522aa9035282910e3 pygobject-3.20.0.tar.xz"
|