blob: ae9a00e7ae4832893528d65654ed94bdabd51c7b (
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
35
36
37
|
# $Id$
# Maintainer: Alexandre Filgueira <alexfilgueira@antergos.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=cjs
pkgver=2.2.0
pkgrel=1
pkgdesc="Javascript Bindings for Cinnamon"
arch=(i686 x86_64)
url="https://github.com/linuxmint/cjs"
license=(GPL)
depends=(cairo gobject-introspection js185 dbus-glib)
makedepends=(gnome-common)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cjs/archive/${pkgver}.tar.gz")
sha256sums=('47b707bdb334305a5aa8104233e8e2679209f5b95fb7f9e153d3a66c5e6917dc')
build() {
cd $pkgname-$pkgver
# Python2 fix
sed -i 's|#! /usr/bin/env python|#! /usr/bin/env python2|' \
scripts/make-tests
./autogen.sh --prefix=/usr --disable-static --libexecdir=/usr/lib
make
}
check() {
cd $pkgname-$pkgver
# Needs a display
make -k check || :
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|