[arch-commits] Commit in cjs/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Tue Apr 24 18:06:47 UTC 2018


    Date: Tuesday, April 24, 2018 @ 18:06:47
  Author: eschwartz
Revision: 317608

archrelease: copy trunk to community-x86_64

Added:
  cjs/repos/community-x86_64/PKGBUILD
    (from rev 317607, cjs/trunk/PKGBUILD)
Deleted:
  cjs/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 49 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-24 18:06:30 UTC (rev 317607)
+++ PKGBUILD	2018-04-24 18:06:47 UTC (rev 317608)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at antergos.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=cjs
-pkgver=3.6.1
-pkgrel=1
-pkgdesc="Javascript Bindings for Cinnamon"
-arch=(i686 x86_64)
-url="https://github.com/linuxmint/cjs"
-license=(GPL)
-depends=(gtk3 gobject-introspection-runtime js38 dbus-glib)
-makedepends=(gnome-common python gobject-introspection)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cjs/archive/${pkgver}.tar.gz")
-options=(!emptydirs)
-sha512sums=('648997c76acb11885a53a73aa456989784fe5f5a12e0f349bce658c1eb3e3ce2b5c576ace488962c9b012fc85c2c3dd828f61f857cc9da7b60ee5fcdd7d25155')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./autogen.sh --prefix=/usr --disable-static --libexecdir=/usr/lib
-
-  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  # Needs a display
-  make -k check || :
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: cjs/repos/community-x86_64/PKGBUILD (from rev 317607, cjs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-24 18:06:47 UTC (rev 317608)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: Ionut Biru <ibiru at 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
+}



More information about the arch-commits mailing list