d7e1a2fb6e
If hildon-desktop doesn't build, then it doesn't make sense to build the rest right now - and it's likely that this won't build either.
33 lines
1 KiB
Text
33 lines
1 KiB
Text
pkgname=libhildondesktop
|
|
pkgver=2.1.43
|
|
pkgrel=3
|
|
pkgdesc="Hildon Desktop library"
|
|
arch="x86_64 armhf aarch64"
|
|
url="https://github.com/maemo-leste/libhildondesktop"
|
|
license="GPL"
|
|
depends="libhildon iphbd dbus-glib"
|
|
makedepends="autoconf automake libhildon-dev iphbd-dev dbus-glib-dev"
|
|
subpackages="$pkgname-dev $pkgname-examples"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/libhildondesktop/archive/$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/libhildondesktop-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./autogen.sh --prefix=/usr CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|
|
|
|
examples() {
|
|
pkgdesc="Hildon Desktop examples"
|
|
mkdir -p "$subpkgdir/usr/lib"
|
|
mv "$pkgdir/usr/lib/hildon-desktop" "$subpkgdir/usr/lib/"
|
|
mv "$pkgdir/usr/share" "$subpkgdir/usr/"
|
|
}
|
|
|
|
sha512sums="5766cfc600a2711ecb88d55a67a95e92555608b54217d8d83b8191e9c1d14ea0c3150e5c7ac2251acf83d7e200e80bfcd877c66a993e509c353b76da1136450f libhildondesktop-2.1.43.tar.gz"
|