# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=guake
pkgver=0.8.11
pkgrel=0
pkgdesc="Drop-down terminal for GNOME"
url="http://guake-project.org"
arch="all"
license="GPL"
makedepends="python3-dev gtk+2.0-dev py-gtk-dev gconf-dev py2-vte
	autoconf automake libtool m4 gnome-common intltool"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/Guake/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

check() {
	cd "$builddir"
	make check
}

prepare() {
	cd "$builddir"
	NOCONFIGURE=1 ./autogen.sh
	default_prepare
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--disable-nls \
		--disable-static
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="c11e3b1294e26eed12a42db51dab4b1fd8f41e2436e9203748df57a46694182e69b112a2ef13b63a0be50a54ed5bc65ed1092737a123c9e43910154fecc94687  guake-0.8.11.tar.gz"
