aboutsummaryrefslogtreecommitdiffstats
path: root/community/vte3/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-16 13:05:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-16 13:52:48 +0000
commit2ee56d010efbbe67a17e8f37260b11e0512cd89d (patch)
treef04e2b36468591b3a4b0672df0d7ac8fc9ce759a /community/vte3/APKBUILD
parent2fd223a89538e1349152c3926710e776ec94f443 (diff)
downloadaports-2ee56d010efbbe67a17e8f37260b11e0512cd89d.tar.bz2
aports-2ee56d010efbbe67a17e8f37260b11e0512cd89d.tar.xz
community/vte3: move from main
Diffstat (limited to 'community/vte3/APKBUILD')
-rw-r--r--community/vte3/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/community/vte3/APKBUILD b/community/vte3/APKBUILD
new file mode 100644
index 000000000..137b25a54
--- /dev/null
+++ b/community/vte3/APKBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=vte3
+pkgver=0.40.2
+pkgrel=0
+pkgdesc="Virtual Terminal Emulator library"
+url="https://developer.gnome.org/vte/"
+arch="all"
+license="LGPL2+"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+depends=
+depends_dev="pango-dev gtk+3.0-dev"
+makedepends="$depends_dev intltool python ncurses-dev gobject-introspection-dev
+ vala gnutls-dev linux-headers libxml2-utils"
+source="http://ftp.gnome.org/pub/GNOME/sources/vte/${pkgver%.*}/vte-$pkgver.tar.xz
+ allow_alt_in_terminal.patch"
+
+_builddir="$srcdir"/vte-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch)
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS="$CFLAGS -D_GNU_SOURCE"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/$pkgname \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-introspection \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="6a7a6af8eb0ebadaf3338e820a7229a3 vte-0.40.2.tar.xz
+6ae30139b7d7ca78b56a3b55426c83f2 allow_alt_in_terminal.patch"
+sha256sums="9b68fbc16b27f2d79e6271f2b0708808594ac5acf979d0fccea118608199fd2d vte-0.40.2.tar.xz
+6e4488f9a60f52a2a7eeb09865bdc42f00c309eb4cf8d548b524b9c33fadcd8a allow_alt_in_terminal.patch"
+sha512sums="06d1c9a34e8e82e1bd54810d245d908ebb837538ba19fbaabe683cdf3b96b7cb1630516ddeabf18b0294922b8d98d2b9a2f5028c171fac2ad913974d94555eb2 vte-0.40.2.tar.xz
+a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833 allow_alt_in_terminal.patch"