summaryrefslogtreecommitdiffstats
path: root/main/vte/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/vte/APKBUILD')
-rw-r--r--main/vte/APKBUILD18
1 files changed, 15 insertions, 3 deletions
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD
index 8748f4f58..2e5fe6132 100644
--- a/main/vte/APKBUILD
+++ b/main/vte/APKBUILD
@@ -1,16 +1,27 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte
pkgver=0.26.0
-pkgrel=0
+pkgrel=1
pkgdesc="Virtual Terminal Emulator library"
url="http://www.gnome.org"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig gtk+-dev intltool python ncurses-dev"
-source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+ term.patch"
depends_dev="glib-dev pango-dev gtk+-dev"
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ for i in $source; do
+ case $i in
+ *.patch)
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
+}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
@@ -26,4 +37,5 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="44c57bb20a79d9e3b20c7bf222714528 vte-0.26.0.tar.bz2"
+md5sums="44c57bb20a79d9e3b20c7bf222714528 vte-0.26.0.tar.bz2
+90284e2b76a2b198920ec4956f689de3 term.patch"