2013-12-14 19:40:55 +01:00
|
|
|
# Template file for 'cjs'
|
|
|
|
pkgname=cjs
|
2014-08-31 13:04:44 +02:00
|
|
|
version=2.2.2
|
|
|
|
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"
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection git"
|
2014-02-27 14:54:19 +01:00
|
|
|
makedepends="js-devel dbus-glib-devel readline-devel>=6.3"
|
2013-12-29 17:48:49 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-12-14 19:40:55 +01:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
2014-11-01 19:44:30 +01:00
|
|
|
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
|
|
|
|
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
|
2013-12-15 10:10:45 +01:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
|
|
|
|
}
|
2013-12-14 19:40:55 +01:00
|
|
|
pre_configure() {
|
2014-03-29 15:17:42 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2013-12-14 19:40:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
cjs-devel_package() {
|
2013-12-15 10:10:45 +01:00
|
|
|
depends="js-devel libglib-devel dbus-devel ${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
|
|
|
|
}
|
|
|
|
}
|