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

David Runge dvzrv at archlinux.org
Sat Apr 11 12:43:17 UTC 2020


    Date: Saturday, April 11, 2020 @ 12:43:14
  Author: dvzrv
Revision: 613330

archrelease: copy trunk to community-x86_64

Added:
  bchoppr/repos/community-x86_64/
  bchoppr/repos/community-x86_64/PKGBUILD
    (from rev 613329, bchoppr/trunk/PKGBUILD)

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

Copied: bchoppr/repos/community-x86_64/PKGBUILD (from rev 613329, bchoppr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-04-11 12:43:14 UTC (rev 613330)
@@ -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