# $Id$ # Maintainer: Jan Alexander Steffens (heftig) # ALARM: Kevin Mihelich # - patch to fix build on ARM pkgname=gnome-builder pkgver=3.16.3 pkgrel=6 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 desktop-file-utils ctags) 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 git1.patch git2.patch git3.patch arm.patch) sha256sums=('a1d7b287d39ce724114c128e25bb00e273ecd8982ed22c8aba48cad9c4d51e61' 'e2b3edad8db87c9798abfad2dc831c2133736b6b9cb26e629e8adf0eb2c5e0a7' 'd81adf53ff7a918e0f037e6dc61515c0ad14a0c226f500a71d1a7daabf64b119' '39be431517fe5cedd17738b0289adc16afad8bcbb5a84e4b656a40d5bc1c2353' 'e56bb096be7b6fae0725efa5846e2376177e12b6b0495e04c21c13d771c38b34') prepare() { cd $pkgname-$pkgver patch -Np1 -i ../git1.patch patch -Np1 -i ../git2.patch patch -Np1 -i ../git3.patch patch -p1 -i ../arm.patch } build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib make } check() { cd $pkgname-$pkgver make -k check || : } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }