diff options
author | Leo <thinkabit.ukim@gmail.com> | 2021-09-30 18:15:57 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-10-03 01:34:50 -0300 |
commit | 2ca2cf9ef76123c8c683788a87afe22f7924b27a (patch) | |
tree | 42b448e456b3b1f4bcb54ec4241f0b7d9dd79b3c | |
parent | 87aedf907754fa124675d18fdb6fad7fef0e54ce (diff) | |
download | aports-2ca2cf9ef76123c8c683788a87afe22f7924b27a.tar.gz aports-2ca2cf9ef76123c8c683788a87afe22f7924b27a.tar.bz2 aports-2ca2cf9ef76123c8c683788a87afe22f7924b27a.tar.xz |
testing/stgit: upgrade to 1.3
-rw-r--r-- | testing/stgit/APKBUILD | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/testing/stgit/APKBUILD b/testing/stgit/APKBUILD index c7ebf5cff0a..8c3b4927339 100644 --- a/testing/stgit/APKBUILD +++ b/testing/stgit/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Joseph Benden <joe@benden.us> # Maintainer: Joseph Benden <joe@benden.us> pkgname=stgit -pkgver=1.1 +pkgver=1.3 pkgrel=0 pkgdesc="Manage a stack of patches using GIT as a backend" arch="noarch" @@ -9,12 +9,14 @@ url="http://www.procode.org/stgit/" license="GPL-2.0-or-later" options="!check" # unit-tests fail due to iconv usage depends="git python3" -makedepends="asciidoc xmlto perl" +makedepends="asciidoc xmlto perl py3-setuptools" subpackages=" $pkgname-doc $pkgname-zsh-completion $pkgname-fish-completion $pkgname-bash-completion + $pkgname-vim:_vim:noarch + $pkgname-emacs:_emacs:noarch " source="https://github.com/stacked-git/stgit/releases/download/v$pkgver/stgit-$pkgver.tar.gz" @@ -50,16 +52,38 @@ package() { mandir=/usr/share/man/ \ install install-doc - install -Dm0644 "$pkgdir"/usr/share/stgit/completion/stgit.bash \ + # shell completion + rm -rf "$pkgdir"/usr/share/stgit/completions + install -Dm0644 completion/stgit.bash \ "$pkgdir"/usr/share/bash-completion/completions/stgit - install -Dm0644 "$pkgdir"/usr/share/stgit/completion/stgit.zsh \ + install -Dm0644 completion/stgit.zsh \ "$pkgdir"/usr/share/zsh/site-functions/_stgit - install -Dm0644 "$pkgdir"/usr/share/stgit/completion/stg.fish \ + install -Dm0644 completion/stg.fish \ "$pkgdir"/usr/share/fish/completions/stg.fish - rm -rf "$pkgdir"/usr/share/stgit/completions + # lisp + install -Dm0644 contrib/stgit.el -t "$pkgdir"/usr/share/emacs/site-lisp + + # vim + install -Dm0644 contrib/vim/ftdetect/stg.vim -t \ + "$pkgdir"/usr/share/vim/vimfiles/ftdetect + for vimsyntax in contrib/vim/syntax/*.vim; do + install -Dm0644 "$vimsyntax" -t "$pkgdir"/usr/share/vim/vimfiles/syntax + done +} + +_emacs() { + pkgdesc="stg plugin for emacs" + install_if="$pkgname=$pkgver-r$pkgrel emacs" + amove usr/share/emacs +} + +_vim() { + pkgdesc="vim filetype and syntax for stgit files" + install_if="$pkgname=$pkgver-r$pkgrel vim" + amove usr/share/vim/vimfiles } sha512sums=" -c4dfa06e65f3b4009a6159bbeabb691c316faf3a56dbb91c3ef1e77eda07657081b3b6b8f5b1d4010dd8dcd9c63ce423a5fc79a889c3871dc2f88faa13ee2eb1 stgit-1.1.tar.gz +3352837aabb83276e7d110fa6a7298a0c9e4e2c325771c7e32c1c3c6dfb7a763d10648858b78129e9365f7bddd33ac1cb28df33a74b6b43564c66f653a59da2c stgit-1.3.tar.gz " |