blob: b049738ed925dbc51e0d4efaf7ff7b896f30c085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gjs
pkgver=1.48.3
pkgrel=0
pkgdesc="GNOME javascript library"
url="https://wiki.gnome.org/Projects/Gjs"
arch="all !armhf"
license="LGPL"
depends=""
depends_dev="gobject-introspection-dev mozjs-38-dev"
makedepends="$depends_dev mozjs-38 dbus"
install=""
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/gjs/${pkgver%.*}/gjs-$pkgver.tar.xz"
builddir="$srcdir/gjs-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="6fdfb4fb17336f94a077e0d1a5a98c88437a2d3cc361677672e10d36dc220b46f2554cfe6fc3c71e644ea63ff38d5e638c667e3f5f85db7332cdf4ae6326f27f gjs-1.48.3.tar.xz"
|