diff options
Diffstat (limited to 'main/vte/APKBUILD')
-rw-r--r-- | main/vte/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD new file mode 100644 index 0000000000..389e7343db --- /dev/null +++ b/main/vte/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=vte +pkgver=0.28.1 +pkgrel=0 +pkgdesc="Virtual Terminal Emulator library" +url="http://www.gnome.org" +arch="all" +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" + +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 \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/vte \ + --localstatedir=/var \ + --disable-static \ + || return 1 + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + ln -sf /usr/share/vte/termcap-0.0 "$pkgdir"/usr/share/vte/termcap + find "$pkgdir" -name '*.la' -delete +} +md5sums="771ff368d4e5ac8e91be4f525b676292 vte-0.28.1.tar.bz2" |