[arch-commits] Commit in (bchoppr bchoppr/repos bchoppr/trunk bchoppr/trunk/PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Apr 11 12:40:52 UTC 2020


    Date: Saturday, April 11, 2020 @ 12:40:51
  Author: dvzrv
Revision: 613329

Adding bchoppr.

Added:
  bchoppr/
  bchoppr/repos/
  bchoppr/trunk/
  bchoppr/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: bchoppr/trunk/PKGBUILD
===================================================================
--- bchoppr/trunk/PKGBUILD	                        (rev 0)
+++ bchoppr/trunk/PKGBUILD	2020-04-11 12:40:51 UTC (rev 613329)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=BChoppr
+pkgname=bchoppr
+pkgver=1.4.2
+pkgrel=1
+pkgdesc="An audio stream chopping LV2 plugin"
+arch=('x86_64')
+url="https://github.com/sjaehn/BChoppr"
+license=('GPL3')
+groups=('lv2-plugins' 'pro-audio')
+depends=('cairo' 'gcc-libs' 'glibc' 'libx11')
+makedepends=('lv2')
+checkdepends=('lv2lint')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sjaehn/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('d6f05f737d1f4e116ebd80c48d8cbb4c7e13e969593504395ab9ae0521d31e39a587d0f44e7c9ec609624de8f4575f87d556bfce39ab70922a35ad1979c063c5')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make PREFIX='/usr'
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  lv2lint -I "${PWD}/${_name}.lv2/" "https://www.jahnichen.de/plugins/lv2/${_name}"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" PREFIX='/usr' install
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # remove useless license file
+  find "${pkgdir}/usr/lib/" -type f -iname "*LICENSE*" -delete
+}


More information about the arch-commits mailing list