[arch-commits] Commit in cjs/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Nov 7 17:03:33 UTC 2016
Date: Monday, November 7, 2016 @ 17:03:32
Author: bpiotrowski
Revision: 194917
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
cjs/repos/community-staging-i686/
cjs/repos/community-staging-i686/PKGBUILD
(from rev 194916, cjs/trunk/PKGBUILD)
cjs/repos/community-staging-x86_64/
cjs/repos/community-staging-x86_64/PKGBUILD
(from rev 194916, cjs/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
Copied: cjs/repos/community-staging-i686/PKGBUILD (from rev 194916, cjs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-07 17:03:32 UTC (rev 194917)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at antergos.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=cjs
+pkgver=3.0.1
+pkgrel=2
+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=('cafda5a8a21421e93720732debeea08c59e63c058d240ab0f7b3a6969654864f')
+
+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/community-staging-x86_64/PKGBUILD (from rev 194916, cjs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-11-07 17:03:32 UTC (rev 194917)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at antergos.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=cjs
+pkgver=3.0.1
+pkgrel=2
+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=('cafda5a8a21421e93720732debeea08c59e63c058d240ab0f7b3a6969654864f')
+
+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