blob: c7f1ad3b81619d9345b49aafdab08ce568182752 (
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.18.2
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="0a956f3e785e23b0f136832f2e57a862 pygobject-3.18.2.tar.xz"
sha256sums="2a3cad1517916b74e131e6002c3824361aee0671ffb0d55ded119477fc1c2c5f pygobject-3.18.2.tar.xz"
sha512sums="8001efdbfb07caa23d2e1024e90c5db7478468b2e8de319fb25695e69e5898524ebccc8b69edcedb71ff02d9fe333448986cc5a22014f8661230fd5acdffa19e pygobject-3.18.2.tar.xz"
|