Date: Thursday, November 1, 2018 @ 02:14:20 Author: eschwartz Revision: 400903
archrelease: copy trunk to community-x86_64 Added: cjs/repos/community-x86_64/PKGBUILD (from rev 400902, cjs/trunk/PKGBUILD) Deleted: cjs/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 97 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-01 02:14:01 UTC (rev 400902) +++ PKGBUILD 2018-11-01 02:14:20 UTC (rev 400903) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Alexandre Filgueira <alexfilgue...@cinnarch.com> -# Contributor: Ionut Biru <ib...@archlinux.org> - -pkgname=cjs -pkgver=3.8.0 -pkgrel=1 -pkgdesc="Javascript Bindings for Cinnamon" -arch=('x86_64') -url="https://github.com/linuxmint/${pkgname}" -license=('GPL') -depends=('dbus-glib' 'gtk3' 'gobject-introspection-runtime' 'js52') -makedepends=('gnome-common' 'gobject-introspection') -checkdepends=('xorg-server-xvfb') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha512sums=('7f776be2d4863ea7bb32e266efb0c5d5e0f86bab68bdabc1478e04809f8f887b4ff0853075baffa46055d347fc22c6252faefaceba750f61b0b21229f6130bd0') - -prepare() { - cd "${srcdir}"/${pkgname}-${pkgver} - - autoreconf -fi -} - -build() { - cd "${srcdir}"/${pkgname}-${pkgver} - - ./configure --prefix=/usr \ - --libexecdir=/usr/lib \ - --disable-static - - #https://bugzilla.gnome.org/show_bug.cgi?id=656231 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make -} - -check() { - cd "${srcdir}"/${pkgname}-${pkgver} - - # Needs a display - xvfb-run make -k check || : -} - -package() { - cd "${srcdir}"/${pkgname}-${pkgver} - - make DESTDIR="${pkgdir}" install -} Copied: cjs/repos/community-x86_64/PKGBUILD (from rev 400902, cjs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-01 02:14:20 UTC (rev 400903) @@ -0,0 +1,48 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Alexandre Filgueira <alexfilgue...@cinnarch.com> +# Contributor: Ionut Biru <ib...@archlinux.org> + +pkgname=cjs +pkgver=4.0.0 +pkgrel=1 +pkgdesc="Javascript Bindings for Cinnamon" +arch=('x86_64') +url="https://github.com/linuxmint/${pkgname}" +license=('GPL') +depends=('dbus-glib' 'gtk3' 'gobject-introspection-runtime' 'js52') +makedepends=('autoconf-archive' 'gobject-introspection') +checkdepends=('xorg-server-xvfb') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha512sums=('86baaba3721b71b266c560180ba20af43eed0d2b8fc37af0d24c7c0c36252e2af85da928b42260074f236f0bc4d4f4f28d20127021e67f23a22b042a09a3baa7') + +prepare() { + cd "${srcdir}"/${pkgname}-${pkgver} + + autoreconf -fi +} + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --disable-static + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd "${srcdir}"/${pkgname}-${pkgver} + + # Needs a display + xvfb-run make -k check || : +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install +}