[arch-commits] Commit in vim-csound/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Mar 1 19:03:25 UTC 2020


    Date: Sunday, March 1, 2020 @ 19:03:24
  Author: dvzrv
Revision: 587989

upgpkg: vim-csound 0.8.1-1: Upgrading to 0.8.1. Updating maintainer info. Adding bash and python as optdepends for helper scripts.
Simplifying installation of files. Upstream fixed FS#65432.

Modified:
  vim-csound/trunk/PKGBUILD

----------+
 PKGBUILD |   44 +++++++++++++++++++++++---------------------
 1 file changed, 23 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-01 19:02:48 UTC (rev 587988)
+++ PKGBUILD	2020-03-01 19:03:24 UTC (rev 587989)
@@ -1,6 +1,7 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
 pkgname=vim-csound
-pkgver=0.7
+pkgver=0.8.1
 pkgrel=1
 pkgdesc="Csound tools for Vim"
 arch=('any')
@@ -8,9 +9,11 @@
 license=('MIT')
 groups=('vim-plugins')
 depends=('vim')
-optdepends=('csound: Use vim with csound')
+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=('35cd541d59a99e8b78059ef708ddb75801f79bd4175fc2ac2931f06d6e04d9fdd62c3c09c7c75a68883ffc724160ff0cbc70213041e4f8fcf8b2e31197795d25')
+sha512sums=('a87458efabcef4e3681b8f6b6325ad1fbe5b68befbf602fe858db2baf455c66c3a5b953a6aeeb28155867f7c53ae29618801c6b66a30118346069a1598b5ada1')
 
 prepare() {
   mv -v "csound-vim-$pkgver" "$pkgname-$pkgver"
@@ -18,25 +21,24 @@
 
 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 \
+  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 -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"
-
+  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 -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   # docs
-  install -vDm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  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