# Contributor (Arch): Jon Nordby # Maintainer (Arch): Jon Nordby # Contributor: André Silva pkgname=maliit-framework pkgver=0.99.0 pkgrel=6 pkgdesc="Maliit Input Methods - Framework" arch=('x86_64' 'i686') url="http://maliit.org" license=('LGPL') depends=('qt5-base' 'qt5-quick1' 'gtk2' 'gtk3' 'gconf') install=$pkgname.install source=(http://maliit.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('c5e8c67cbfb514122518d92f1edcc990') build() { cd "$pkgname-$pkgver" # BUILD qmake -r . make } package() { cd "$pkgname-$pkgver" make INSTALL_ROOT="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install install -m755 -d "$pkgdir/usr/share/gconf/schemas" gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain maliit-framework "$pkgdir"/etc/gconf/schemas/*.schemas rm -f "$pkgdir"/etc/gconf/schemas/*.schemas }