diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 12:49:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 13:52:48 +0000 |
commit | ee488ba972303d1b9234ee39df731861559f99f5 (patch) | |
tree | ae4c36bc5dd821d62ad4abc006f6d9fb510555b4 /community/geany-plugins | |
parent | d6a792c5d7d521f36a14049724ef396859d34ee9 (diff) | |
download | aports-ee488ba972303d1b9234ee39df731861559f99f5.tar.bz2 aports-ee488ba972303d1b9234ee39df731861559f99f5.tar.xz |
community/geany-plugins: move from testing
Diffstat (limited to 'community/geany-plugins')
-rw-r--r-- | community/geany-plugins/APKBUILD | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/community/geany-plugins/APKBUILD b/community/geany-plugins/APKBUILD new file mode 100644 index 0000000000..4a83b1fe84 --- /dev/null +++ b/community/geany-plugins/APKBUILD @@ -0,0 +1,140 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=geany-plugins +pkgver=1.25 +pkgrel=0 +pkgdesc="Plugins for Geany" +url="http://plugins.geany.org/" +arch="all" +license="GPLv3+" +depends="" +makedepends="lua-dev geany-dev enchant-dev intltool gtkspell-dev libxml2-dev + bash vte-dev vala libsoup-dev gpgme-dev" +install="" +subpackages="$pkgname-doc + $pkgname-addons + $pkgname-autoclose + $pkgname-automark + $pkgname-codenav + $pkgname-commander + $pkgname-defineformat + $pkgname-geanyctags + $pkgname-geanydoc + $pkgname-geanyextrasel + $pkgname-geanyinsertnum + $pkgname-geanylatex + $pkgname-geanylipsum + $pkgname-geanylua + $pkgname-geanymacro + $pkgname-geanyminiscript + $pkgname-geanynumberedbookmarks + $pkgname-geanypg + $pkgname-geanyprj + $pkgname-geanysendmail + $pkgname-geanyvc + $pkgname-geniuspaste + $pkgname-gproject + $pkgname-multiterm + $pkgname-overview + $pkgname-pairtaghighlighter + $pkgname-pohelper + $pkgname-pretty-printer:pretty_printer + $pkgname-projectorganizer + $pkgname-scope + $pkgname-shiftcolumn + $pkgname-spellcheck + $pkgname-tableconvert + $pkgname-treebrowser + $pkgname-updatechecker + $pkgname-xmlsnippets + + $pkgname-lang + " + +source="http://plugins.geany.org/$pkgname/$pkgname-$pkgver.tar.bz2" + +_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" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-lua-pkg=lua \ + --disable-debugger \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +_plugin() { + pkgdesc="$2" + local _d + mkdir -p "$subpkgdir"/usr/lib/geany + mv "$pkgdir"/usr/lib/geany/$1.so "$subpkgdir"/usr/lib/geany/ || return 1 + cd "$pkgdir" + for _d in usr/*/geany-plugins/$1; do + if [ -d "$_d" ]; then + mkdir -p "$subpkgdir"/${_d%/*} + mv "$pkgdir"/$_d "$subpkgdir"/$_d + fi + done +} + +addons() { _plugin addons "Miscellaneous Addons for Geany"; } +autoclose() { _plugin autoclose "Auto-closing features for Geany"; } +automark() { _plugin automark "Highlights all words that match current word"; } +codenav() { _plugin codenav "Navigate through your source code easily"; } +commander() { _plugin commander "Control Geany using commands from a command panel"; } +defineformat() { _plugin defineformat "Plugin to write multiline defines with aligned backslash"; } +geanyctags() { _plugin geanyctags "Generate and query ctags files for a Geany project"; } +geanydoc() { _plugin geanydoc "Call documentation from within Geany"; } +geanyextrasel() { _plugin geanyextrasel "Additional features for selecting code"; } +geanyinsertnum() { _plugin geanyinsertnum "Insert huge number ranges with small efforts"; } +geanylatex() { _plugin geanylatex "LaTeX support for Geany"; } +geanylipsum() { _plugin geanylipsum "Lorem Ipsum generator for Inserting Placeholder Text"; } +geanylua() { _plugin geanylua "Lua Scripting for Geany"; } +geanymacro() { _plugin geanymacro "User defined Macros for Geany"; } +geanyminiscript() { _plugin geanyminiscript "Geany Mini-Script filter plugin"; } +geanynumberedbookmarks() { _plugin geanynumberedbookmarks "Provide users 10 numbered Bookmarks"; } +geanypg() { _plugin geanypg "A plugin for Geany that allows the user to encrypt, decrypt and verify signatures with GnuPG"; } +geanyprj() { _plugin geanyprj "Alternate project management tool for Geany"; } +geanysendmail() { _plugin geanysendmail "Send E-Mails from within Geany"; } +geanyvc() { _plugin geanyvc "Version Control for Geany"; } +geniuspaste() { _plugin geniuspaste "A plugin to paste the code from Geany into different pastebins"; } +gproject() { _plugin gproject "Extension of Geany's project management"; + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/icons "$subpkgdir"/usr/share/ +} +multiterm() { _plugin multiterm "Multiple terminals inside of Geany"; } +overview() { _plugin overview "Overview over the code in a sidebar"; } +pairtaghighlighter() { _plugin pairtaghighlighter "Finds and highlights matching HTML tag"; } +pohelper() { _plugin pohelper "A plugin for Geany that improves the support for GetText translation files"; } +pretty_printer() { _plugin pretty-printer "XML pretty printing plugin for Geany"; } +projectorganizer() { _plugin projectorganizer "Extension of Geany's project management"; } +scope() { _plugin scope "Graphical GDB front-end"; } +shiftcolumn() { _plugin shiftcolumn "Move Blocks of Text horizontally"; } +spellcheck() { _plugin spellcheck "Spellcheck text in Geany"; } +tableconvert() { _plugin tableconvert "Helps on converting a tabulator separated selection into a table"; } +treebrowser() { _plugin treebrowser "Alternate file browser plugin"; } +updatechecker() { _plugin updatechecker "A plugin to check whether there is a more recent version of Geany available"; } +xmlsnippets() { _plugin xmlsnippets "Extends XML/HTML tag autocompletion provided by Geany"; } + +md5sums="91f32224ab7a1eb8d05bf6cde5743427 geany-plugins-1.25.tar.bz2" +sha256sums="5c13ac1e173284462248ed2faae389a72364c5aa1538de628d2aaa7d286e244b geany-plugins-1.25.tar.bz2" +sha512sums="4a0f95a90364791b82941ed4ad22f3e0f7a94dcc758bc0573bbb8c44bdfafc4d4e5a9bbae3756a41a7a1639d4fed2ebd182c2f4242083366d2bc11add06ac697 geany-plugins-1.25.tar.bz2" |