void-packages/srcpkgs/cjs/template

29 lines
820 B
Bash
Raw Normal View History

2013-12-14 19:40:55 +01:00
# Template file for 'cjs'
pkgname=cjs
2015-07-05 10:27:47 +02:00
version=2.6.2
2014-08-31 13:04:44 +02:00
revision=1
2013-12-15 18:04:37 +01:00
short_desc="Javascript for Cinnamon"
2013-12-14 19:40:55 +01:00
build_style=gnu-configure
2014-08-31 13:04:44 +02:00
configure_args="--disable-static"
2015-06-09 07:49:20 +02:00
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection glib-devel"
makedepends="mozjs24-devel dbus-glib-devel readline-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-12-14 19:40:55 +01:00
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
2015-06-09 07:49:20 +02:00
distfiles="https://github.com/linuxmint/cjs/archive/${version}.tar.gz"
2015-07-05 10:27:47 +02:00
checksum=742e5a98281c3aff3127113352e920151468fd3c55214aa9c9ed09704efa70a0
2013-12-14 19:40:55 +01:00
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
2013-12-14 19:40:55 +01:00
}
cjs-devel_package() {
2015-01-24 09:41:16 +01:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2013-12-14 19:40:55 +01:00
short_desc+=" - development files"
pkg_install() {
2013-12-15 10:40:04 +01:00
vmove "usr/lib/*.so"
2013-12-14 19:40:55 +01:00
vmove usr/include
vmove usr/lib/pkgconfig
}
}