[arch-commits] Commit in vim-csound/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Mar 1 19:03:37 UTC 2020
Date: Sunday, March 1, 2020 @ 19:03:36
Author: dvzrv
Revision: 587991
archrelease: copy trunk to community-any
Added:
vim-csound/repos/community-any/PKGBUILD
(from rev 587990, vim-csound/trunk/PKGBUILD)
Deleted:
vim-csound/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 44 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-01 19:03:26 UTC (rev 587990)
+++ PKGBUILD 2020-03-01 19:03:36 UTC (rev 587991)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=vim-csound
-pkgver=0.7
-pkgrel=1
-pkgdesc="Csound tools for Vim"
-arch=('any')
-url="https://github.com/luisjure/csound-vim"
-license=('MIT')
-groups=('vim-plugins')
-depends=('vim')
-optdepends=('csound: Use vim with csound')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/luisjure/csound-vim/archive/v${pkgver}.tar.gz")
-sha512sums=('35cd541d59a99e8b78059ef708ddb75801f79bd4175fc2ac2931f06d6e04d9fdd62c3c09c7c75a68883ffc724160ff0cbc70213041e4f8fcf8b2e31197795d25')
-
-prepare() {
- mv -v "csound-vim-$pkgver" "$pkgname-$pkgver"
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- # plugin
- install -vDm644 doc/csound.txt \
- "${pkgdir}/usr/share/vim/vimfiles/doc/csound.txt"
- install -vDm644 ftdetect/csound.vim \
- "${pkgdir}/usr/share/vim/vimfiles/ftdetect/csound.vim"
- install -vDm644 macros/csound.vim \
- "${pkgdir}/usr/share/vim/vimfiles/macros/csound.vim"
- install -vDm644 plugin/csound.vim \
- "${pkgdir}/usr/share/vim/vimfiles/plugin/csound.vim"
- install -vDm644 syntax/*.vim \
- -t "${pkgdir}/usr/share/vim/vimfiles/syntax/"
- install -vDm644 templates/template.csd \
- "${pkgdir}/usr/share/vim/vimfiles/templates/template.csd"
- install -vDm644 words/csound.txt \
- "${pkgdir}/usr/share/vim/vimfiles/csounds/csound.txt"
-
- # license
- install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- # docs
- install -vDm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-}
Copied: vim-csound/repos/community-any/PKGBUILD (from rev 587990, vim-csound/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-01 19:03:36 UTC (rev 587991)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=vim-csound
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Csound tools for Vim"
+arch=('any')
+url="https://github.com/luisjure/csound-vim"
+license=('MIT')
+groups=('vim-plugins')
+depends=('vim')
+optdepends=('bash: for opcodelistfromcsound-z.sh'
+ 'csound: Use vim with csound'
+ 'python: for opcodelistfromcsound-z.py')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/luisjure/csound-vim/archive/v${pkgver}.tar.gz")
+sha512sums=('a87458efabcef4e3681b8f6b6325ad1fbe5b68befbf602fe858db2baf455c66c3a5b953a6aeeb28155867f7c53ae29618801c6b66a30118346069a1598b5ada1')
+
+prepare() {
+ mv -v "csound-vim-$pkgver" "$pkgname-$pkgver"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ # plugin
+ install -vDm 644 doc/csound.txt \
+ -t "${pkgdir}/usr/share/vim/vimfiles/doc"
+ install -vDm 644 ftdetect/csound.vim \
+ -t "${pkgdir}/usr/share/vim/vimfiles/ftdetect"
+ install -vDm 644 macros/csound{_macros,.vim} \
+ -t "${pkgdir}/usr/share/vim/vimfiles/macros"
+ install -vDm 644 plugin/csound.vim \
+ -t "${pkgdir}/usr/share/vim/vimfiles/plugin"
+ install -vDm 644 syntax/csound{_opcodes,.vim} \
+ -t "${pkgdir}/usr/share/vim/vimfiles/syntax/"
+ install -vDm 644 templates/template.csd \
+ -t "${pkgdir}/usr/share/vim/vimfiles/templates"
+ install -vDm 644 words/csound.txt \
+ -t "${pkgdir}/usr/share/vim/vimfiles/csounds"
+ # license
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ # docs
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 755 opcodelistfromcsound-z.{py,sh} -t "${pkgdir}/usr/bin"
+}
More information about the arch-commits
mailing list