aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-pywebkitgtk/APKBUILD
blob: 25d78217a09c04f53df867a2b6162a077b82c101 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-pywebkitgtk
_pkgname=pywebkitgtk
pkgver=1.1.8
pkgrel=0
pkgdesc="Python bindings for the WebKit GTK+ port"
url="https://code.google.com/archive/p/pywebkitgtk/"
arch="all !ppc64le"
license="GPL"
depends=""
makedepends="glib-dev py-gtk-dev python2-dev libxslt-dev webkitgtk-dev"
install=""
subpackages="$pkgname-dev"
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

prepare() {
	default_prepare || return 1
	update_config_guess || return 1
}

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make || return 1

}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="158335385354ba38090c9324b37bf225  pywebkitgtk-1.1.8.tar.gz"
sha256sums="7092212933000f23b3042135f01a371bd6a8f980c6b8d8b9dc7e20a1101d699c  pywebkitgtk-1.1.8.tar.gz"
sha512sums="18de613188f68d97be306af877b5d071758da1d08dfe4d4fa6ec275e931d9513520541747dcdcddacf5edf7e21061956ae2f3842155904c2e77c9a758e98e77f  pywebkitgtk-1.1.8.tar.gz"