diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-19 14:35:05 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-06-19 14:36:02 +0000 |
commit | 62565895c0fec101a225f5dff7f910d347b017e0 (patch) | |
tree | ca1e94f57442e816e09d73092354ee966791a214 /main/vte | |
parent | 1804103a550ad9d02b5e29ab8d459b28626e3b8b (diff) | |
download | aports-62565895c0fec101a225f5dff7f910d347b017e0.tar.bz2 aports-62565895c0fec101a225f5dff7f910d347b017e0.tar.xz |
main/vte: enabled python bindings as subpackage
Diffstat (limited to 'main/vte')
-rw-r--r-- | main/vte/APKBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD index e0f47b4d7f..89083b74e2 100644 --- a/main/vte/APKBUILD +++ b/main/vte/APKBUILD @@ -1,16 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=vte pkgver=0.28.2 -pkgrel=12 +pkgrel=13 pkgdesc="Virtual Terminal Emulator library" url="http://www.gnome.org" arch="all" license="LGPL2+" -depends="" options="suid" depends_dev="pango-dev gtk+2.0-dev" -makedepends="$depends_dev intltool ncurses-dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +makedepends="$depends_dev intltool ncurses-dev python2-dev py-gtk-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py2-$pkgname:_py2" source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 allow_alt_in_terminal.patch fix-includes.patch @@ -37,8 +36,7 @@ build() { --sysconfdir=/etc \ --libexecdir=/usr/lib/vte \ --localstatedir=/var \ - --disable-static \ - --disable-python + --disable-static make } @@ -53,6 +51,15 @@ check() { make check } +_py2() { + cd $builddir + pkgdesc="Python 2 bindings for vte" + mkdir -p "$subpkgdir"/usr/share + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/share/pygtk "$subpkgdir"/usr/share + mv "$pkgdir"/usr/lib/python2.7 "$subpkgdir"/usr/lib +} + sha512sums="271aecbc0444c424afb70d81838d0f6f49957a3b74d3952c0b97fadacfe359eab989abae03b9b64a8b598abdb189db00ee534254d8044e496906c51947d314d1 vte-0.28.2.tar.bz2 a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833 allow_alt_in_terminal.patch bf8174189fe842d171c04633ce1f8b920f3a515108db48bfe1fff7e537960a88f7439a55b283b6ade6ebfe78ab8ff2473f3be2d062dc00aa74b93a13624b4d3c fix-includes.patch |