# Maintainer: Nikita Ukhrenkov <thekit@disroot.org>
pkgname=hildon-home
pkgver=0.3.72
pkgrel=1
pkgdesc="Hildon Home application"
arch="all"
url="https://github.com/maemo-leste/$pkgname"
license="GPL"
depends="libhildon"
makedepends="libhildon-dev libhildondesktop-dev libosso-dev
	hildon-thumbnail-dev libhildonfm-dev osso-bookmark-engine-dev
	mce-headers sqlite-dev autoconf automake m4 libtool"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/$pkgname/archive/$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./autogen.sh --prefix=/usr CFLAGS="${CFLAGS} -Wno-error=deprecated-declarations -Wno-error=misleading-indentation"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir/" install
}
sha512sums="9b66412c9679d433608b1749f848bb4abd7cbc016ac53b527e251c8b80a0bc982f61694cbadd7d439b8dec8dc6f9f6eb7a188dc8d32951ca67a5882c24d6d23f  hildon-home-0.3.72.tar.gz"
