[arch-commits] Commit in cjs/repos (4 files)
Alexandre Filgueira
faidoc at archlinux.org
Mon Apr 25 00:58:24 UTC 2016
Date: Monday, April 25, 2016 @ 02:58:23
Author: faidoc
Revision: 171749
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 171748, cjs/trunk/PKGBUILD)
cjs/repos/community-staging-x86_64/
cjs/repos/community-staging-x86_64/PKGBUILD
(from rev 171748, 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 171748, cjs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-25 00:58:23 UTC (rev 171749)
@@ -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/community-staging-x86_64/PKGBUILD (from rev 171748, cjs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-04-25 00:58:23 UTC (rev 171749)
@@ -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