mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
45 lines
1.2 KiB
Bash
45 lines
1.2 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.20.0
|
|
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 desktop-file-utils
|
|
ctags libpeas vte3 vala python-jedi)
|
|
makedepends=(intltool llvm gobject-introspection gtk-doc)
|
|
groups=(gnome-extra)
|
|
install=gnome-builder.install
|
|
source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
|
|
arm.patch)
|
|
sha256sums=('1260f38d6fa0008c1b10238873b764b3fb47c383267bad083b298a7bcae8fb9b'
|
|
'e56bb096be7b6fae0725efa5846e2376177e12b6b0495e04c21c13d771c38b34')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
patch -p1 -i ../arm.patch
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--libexecdir=/usr/lib --enable-gtk-doc
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make -k check || :
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|