[arch-commits] Commit in zita-dpl1/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Mar 6 23:12:52 UTC 2018
Date: Tuesday, March 6, 2018 @ 23:12:51
Author: dvzrv
Revision: 303382
archrelease: copy trunk to community-x86_64
Added:
zita-dpl1/repos/community-x86_64/
zita-dpl1/repos/community-x86_64/PKGBUILD
(from rev 303381, zita-dpl1/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: zita-dpl1/repos/community-x86_64/PKGBUILD (from rev 303381, zita-dpl1/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-03-06 23:12:51 UTC (rev 303382)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=zita-dpl1
+pkgver=0.1.0
+pkgrel=4
+pkgdesc="A look-ahead digital peak level limiter"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('GPL2' 'custom')
+groups=('pro-audio')
+depends=('cairo' 'clthreads' 'clxclient' 'jack')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('e1adf94a3acec5468f5fb2e3ac24ff9671588542754e792cbb73771f3043070ce577f122d21cd7a6c756eec51789b46b9a24fbe6128c274cb4d6554b5c7b37b1')
+
+prepare() {
+ cd "${pkgname}-${pkgver}/source"
+ # split out custom license
+ head -n21 dplimit1.h > LICENSE
+ # strip -march=native
+ sed -i '/native/d' Makefile
+
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/source"
+ make PREFIX='/usr'
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/source"
+ make PREFIX=/usr DESTDIR="$pkgdir/" install
+ # custom LICENSE
+ install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm644 ../doc/* \
+ -vDm644 ../{AUTHORS,README}
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list