[arch-commits] Commit in cjs/repos (4 files)

Alexandre Filgueira faidoc at archlinux.org
Mon Apr 25 00:18:16 UTC 2016


    Date: Monday, April 25, 2016 @ 02:18:16
  Author: faidoc
Revision: 171744

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  cjs/repos/staging-i686/
  cjs/repos/staging-i686/PKGBUILD
    (from rev 171743, cjs/trunk/PKGBUILD)
  cjs/repos/staging-x86_64/
  cjs/repos/staging-x86_64/PKGBUILD
    (from rev 171743, cjs/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: cjs/repos/staging-i686/PKGBUILD (from rev 171743, cjs/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-04-25 00:18:16 UTC (rev 171744)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at antergos.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=cjs
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Javascript Bindings for Cinnamon"
+arch=(i686 x86_64)
+url="https://github.com/linuxmint/cjs"
+license=(GPL)
+depends=(gtk3 gobject-introspection-runtime js dbus-glib)
+makedepends=(gnome-common python2 gobject-introspection)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cjs/archive/${pkgver}.tar.gz")
+options=(!emptydirs)
+sha256sums=('1547c33ce6d988c36959b8f3f17ae07f849f34b3d4be20fb27a84b7dd91ab5ce')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # Python2 fix
+  sed -i 's|#! /usr/bin/env python|#! /usr/bin/env python2|' \
+  		verbump.py
+}
+
+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/staging-x86_64/PKGBUILD (from rev 171743, cjs/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-04-25 00:18:16 UTC (rev 171744)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at antergos.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=cjs
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Javascript Bindings for Cinnamon"
+arch=(i686 x86_64)
+url="https://github.com/linuxmint/cjs"
+license=(GPL)
+depends=(gtk3 gobject-introspection-runtime js dbus-glib)
+makedepends=(gnome-common python2 gobject-introspection)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cjs/archive/${pkgver}.tar.gz")
+options=(!emptydirs)
+sha256sums=('1547c33ce6d988c36959b8f3f17ae07f849f34b3d4be20fb27a84b7dd91ab5ce')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # Python2 fix
+  sed -i 's|#! /usr/bin/env python|#! /usr/bin/env python2|' \
+  		verbump.py
+}
+
+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
+}



More information about the arch-commits mailing list