PKGBUILDs/extra/gnome-builder/PKGBUILD

45 lines
1.2 KiB
Bash
Raw Normal View History

2015-04-14 19:24:18 +00:00
# $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
2016-05-07 00:11:42 +00:00
pkgver=3.20.4
2016-04-09 14:18:09 +00:00
pkgrel=1
2015-04-14 19:24:18 +00:00
pkgdesc="An IDE for writing GNOME-based software"
url="https://wiki.gnome.org/Apps/Builder"
arch=(i686 x86_64)
license=(GPL3)
2015-05-19 12:35:42 +00:00
depends=(gtksourceview3 devhelp libgit2-glib gjs python-gobject clang desktop-file-utils
2015-10-15 16:25:39 +00:00
ctags libpeas vte3 vala python-jedi)
2016-04-09 20:54:12 +00:00
makedepends=(intltool llvm gobject-introspection gtk-doc)
2015-04-14 19:24:18 +00:00
groups=(gnome-extra)
source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
arm.patch)
2016-05-07 00:11:42 +00:00
sha256sums=('b3e69495cd0fcfd3e3a7590f52aadaae7f45393eefd47ab5581a851cdd489041'
2015-04-14 19:24:18 +00:00
'e56bb096be7b6fae0725efa5846e2376177e12b6b0495e04c21c13d771c38b34')
prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../arm.patch
}
build() {
cd $pkgname-$pkgver
2015-05-18 16:07:14 +00:00
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
2016-04-09 20:54:12 +00:00
--libexecdir=/usr/lib --enable-gtk-doc
2016-04-09 14:18:09 +00:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2015-04-14 19:24:18 +00:00
make
}
check() {
cd $pkgname-$pkgver
make -k check || :
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}