# $Id$ # Maintainer: Jan Alexander Steffens (heftig) # ALARM: Kevin Mihelich # - patch to fix build on ARM pkgname=gnome-builder pkgver=3.16.2 pkgrel=1 pkgdesc="An IDE for writing GNOME-based software" url="https://wiki.gnome.org/Apps/Builder" arch=(i686 x86_64) license=(GPL3) depends=(gtksourceview3 devhelp libgit2-glib gjs python-gobject clang) makedepends=(intltool llvm gobject-introspection) groups=(gnome-extra) install=gnome-builder.install source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz arm.patch) sha256sums=('29bce3b39a0745c8ad538ee5051754b14d6d946f382bcc149a44ee53557cbbfd' 'e56bb096be7b6fae0725efa5846e2376177e12b6b0495e04c21c13d771c38b34') prepare() { cd $pkgname-$pkgver patch -p1 -i ../arm.patch } build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make } check() { cd $pkgname-$pkgver make -k check || : } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }