aboutsummaryrefslogtreecommitdiffstats
path: root/main/vte/APKBUILD
blob: cb0ba87ebe8c83a51314c2e37d2034897931d0f5 (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
38
39
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte
pkgver=0.26.2
pkgrel=0
pkgdesc="Virtual Terminal Emulator library"
url="http://www.gnome.org"
arch="x86 x86_64"
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
}
md5sums="54bf0d31851fa942758e700d5b6bc96c  vte-0.26.2.tar.bz2"