mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
47 lines
1 KiB
Bash
47 lines
1 KiB
Bash
# $Id$
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - configure with --enable-compile-warnings=no
|
|
|
|
pkgname=gjs
|
|
pkgver=1.50.4
|
|
pkgrel=1
|
|
epoch=1
|
|
pkgdesc="Javascript Bindings for GNOME"
|
|
url="https://wiki.gnome.org/Projects/Gjs"
|
|
arch=(x86_64)
|
|
license=(GPL)
|
|
depends=(cairo gobject-introspection-runtime js52 gtk3)
|
|
makedepends=(gobject-introspection git autoconf-archive xorg-server-xvfb)
|
|
checkdepends=(valgrind)
|
|
_commit=08046ea1e25ddc682fb529496898a1153ca2fb35 # tags/1.50.4^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
./configure --prefix=/usr --disable-static --libexecdir=/usr/lib --with-xvfb-tests --enable-compile-warnings=no
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname
|
|
make -j1 check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|