PKGBUILDs/extra/gnome-builder/PKGBUILD
2015-12-10 05:29:54 +00:00

49 lines
1.4 KiB
Bash

# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to fix build on ARM
pkgname=gnome-builder
pkgver=3.18.1
pkgrel=3
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 libpeas vte3 vala python-jedi)
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
arm.patch)
sha256sums=('501c95220dcf8ca44a5748e863492377fe2c3aee78a95973d6819b1836e5407c'
'b1a7361c668762a390b63359bf9733e348a2d93c25709669a5eaae178e7127a8'
'a06214efcac9b14e2633c3d69b8a75df1f39f15a13f844d213d04c98c40dcd6d'
'e56bb096be7b6fae0725efa5846e2376177e12b6b0495e04c21c13d771c38b34')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ../git1.patch
patch -Np1 -i ../git2.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
}