aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-24 10:02:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-24 10:02:32 +0000
commit8a5938d1cebef8b43665409f356bfe5125698d20 (patch)
treedb7b0261a22ce4fac944d25b1d5b398c2c379f84 /unmaintained
parent4334998174c389efc372bf4183ecdb419a264763 (diff)
downloadaports-8a5938d1cebef8b43665409f356bfe5125698d20.tar.bz2
aports-8a5938d1cebef8b43665409f356bfe5125698d20.tar.xz
testing/cjs: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/cjs/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/unmaintained/cjs/APKBUILD b/unmaintained/cjs/APKBUILD
new file mode 100644
index 0000000000..ecf3cc833f
--- /dev/null
+++ b/unmaintained/cjs/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=cjs
+pkgver=2.0.0
+pkgrel=0
+pkgdesc="Javascript Bindings for Cinnamon"
+url="https://github.com/linuxmint/cjs"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="gobject-introspection-dev js-dev dbus-glib-dev"
+makedepends="$depends_dev autoconf automake libtool gnome-common"
+install=""
+subpackages="$pkgname-dev"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cjs/archive/${pkgver}.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./autogen.sh \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*/*.la \
+ "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="f40addaca0e9cf55d80a31fe5d5bac7c cjs-2.0.0.tar.gz"
+sha256sums="2fea6c491e6ce8567201f14c0e926181154d798d4811dd65da477c014bfb2a9a cjs-2.0.0.tar.gz"
+sha512sums="0faec81c031e1ae54c4384f5a843b52ce6952d1c3334104914c40aa3ba8b34ab84c335efbdfeb1b99728c195a2f3f204cfe07ce887aa1a103e4151b20c9c14a8 cjs-2.0.0.tar.gz"