blob: 3a94496590071c3809cc9cc9f2a73e2384dd96f1 (
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.16.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"
./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="fedf819b15300c3898b3da9b32a1e719 pygobject-3.16.0.tar.xz"
sha256sums="8d26e40c756ae288eeb35f9d52df7485f70add65d4e6b4597fd1765eb7830685 pygobject-3.16.0.tar.xz"
sha512sums="073090c565db994ed17addfe060ba702197d2f84eb7f3429d6cc9b82a939be8330a55701c8becd0c221c920595a460003e587bf40cecd72d559e80b4c60ac647 pygobject-3.16.0.tar.xz"
|