From b804da4d51f4de53f670b7916a7dd3165347f67e Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Mon, 31 Aug 2015 17:48:42 -0400 Subject: [PATCH] New package: geany-plugins-1.25 --- srcpkgs/geany-plugins-extra | 1 + srcpkgs/geany-plugins/template | 49 ++++++++++++++++++++++++++++++++++ srcpkgs/geany-plugins/update | 1 + 3 files changed, 51 insertions(+) create mode 120000 srcpkgs/geany-plugins-extra create mode 100644 srcpkgs/geany-plugins/template create mode 100644 srcpkgs/geany-plugins/update diff --git a/srcpkgs/geany-plugins-extra b/srcpkgs/geany-plugins-extra new file mode 120000 index 00000000000..283d219b214 --- /dev/null +++ b/srcpkgs/geany-plugins-extra @@ -0,0 +1 @@ +geany-plugins \ No newline at end of file diff --git a/srcpkgs/geany-plugins/template b/srcpkgs/geany-plugins/template new file mode 100644 index 00000000000..a57e8210774 --- /dev/null +++ b/srcpkgs/geany-plugins/template @@ -0,0 +1,49 @@ +# Template file for 'geany-plugins' +pkgname=geany-plugins +version=1.25 +revision=1 +build_style=gnu-configure +# XXX: gitchangebar plugin not compatible with libgit2 right now +configure_args="--enable-all-plugins --disable-gitchangebar" +hostmakedepends="automake gettext-devel intltool libtool pkg-config vala + glib-devel python-devel" +makedepends="geany-devel lua51-devel ctpl-devel libwnck2-devel GConf-devel + webkitgtk2-devel zlib-devel gpgme-devel enchant-devel pygtk-devel" +_short_desc="Geany IDE plugins" +short_desc="${_short_desc} meta-package" +maintainer="Steve Prybylski " +license="GPL-2" +homepage="http://plugins.geany.org" +distfiles="https://github.com/geany/geany-plugins/archive/1.25.tar.gz" +checksum=626e606b5766685c86bae622f78912900b95b4a1c43c086ed9a3862691f8b257 + +replaces="geany-plugins<${version}" + +if [ "$CROSS_BUILD" ]; then + # these plugins break cross-compile + configure_args+=" --disable-geanypy --disable-markdown" +fi + +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +} + +# these plugins require extra dependencies +geany-plugins-extra_package() { + short_desc="${_short_desc} - extra plugins" + pkg_install() { + for p in devhelp geanygendoc geanylua geanypg geanypy geniuspaste \ + markdown pretty-printer spellcheck updatechecker webhelper; do + if [ -x ${DESTDIR}/usr/lib/geany/${p}.so ]; then + vmove usr/lib/geany/${p}.so + fi + if [ -x ${DESTDIR}/usr/share/geany-plugins/${p} ]; then + vmove usr/share/geany-plugins/${p} + fi + if [ -x ${DESTDIR}/usr/share/doc/geany-plugins/${p} ]; then + vmove usr/share/doc/geany-plugins/${p} + fi + done + } +} + diff --git a/srcpkgs/geany-plugins/update b/srcpkgs/geany-plugins/update new file mode 100644 index 00000000000..cc95f08f0ba --- /dev/null +++ b/srcpkgs/geany-plugins/update @@ -0,0 +1 @@ +site="http://plugins.geany.org/downloads.html"