Created
February 23, 2017 14:44
-
-
Save lubosz/838bc17a3ab495d923a0632a15d107a4 to your computer and use it in GitHub Desktop.
gjs-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id: PKGBUILD 280660 2016-11-14 07:40:34Z bpiotrowski $ | |
# Maintainer: Ionut Biru <ibiru@archlinux.org> | |
pkgname=gjs-git | |
pkgver=1.47.4+39+g23b72e9 | |
pkgrel=1 | |
pkgdesc="Javascript Bindings for GNOME" | |
arch=(i686 x86_64) | |
url="http://live.gnome.org/Gjs" | |
license=(GPL) | |
depends=(cairo gobject-introspection-runtime 'js>=24.2.0' 'gtk3') | |
makedepends=('gobject-introspection' 'git' 'gnome-common') | |
_commit=caeb97adf1f3de02fe5c9d0cd3c1434999a1a6ce | |
source=("git://git.gnome.org/gjs") | |
sha256sums=('SKIP') | |
provides=(gjs=$pkgver) | |
conflicts=(gjs) | |
pkgver() { | |
cd gjs | |
git describe --tags | sed 's/-/+/g' | |
} | |
prepare() { | |
cd gjs | |
NOCONFIGURE=1 ./autogen.sh | |
} | |
build() { | |
cd gjs | |
./configure --prefix=/usr --disable-static --libexecdir=/usr/lib | |
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool | |
make | |
} | |
check() { | |
cd gjs | |
# Needs a display | |
make -k check || : | |
} | |
package() { | |
cd gjs | |
make DESTDIR="$pkgdir" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment