Date: Monday, May 21, 2018 @ 20:04:06 Author: dvzrv Revision: 326612 upgpkg: cmt 1.16-7
Updating pkgdesc, license, url, source and checksum. Moving ladspa to makedepends. Fixing makefile in prepare(). Adding docs. Modified: cmt/trunk/PKGBUILD ----------+ PKGBUILD | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-05-21 20:03:42 UTC (rev 326611) +++ PKGBUILD 2018-05-21 20:04:06 UTC (rev 326612) @@ -1,30 +1,38 @@ # $Id$ -#Maintainer: Damir Perisa <[email protected]> +#Maintainer: David Runge <[email protected]> +#Contributor: Damir Perisa <[email protected]> #Contributor: Robert Emil Berge <[email protected]> pkgname=cmt pkgver=1.16 -pkgrel=6 -pkgdesc="CMT for LADSPA" +pkgrel=7 +pkgdesc="A collection of LADSPA plugins for use with software synthesis and recording packages on Linux" arch=('x86_64') -license=('GPL') -url="http://www.ladspa.org" -depends=('ladspa' 'gcc-libs') -groups=('ladspa-plugins') -#source=("http://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz") -source=(http://pkgs.fedoraproject.org/lookaside/extras/ladspa-cmt-plugins/cmt_src_1.16.tgz/15a875e5aaf79c209c223babfb41cb1c/cmt_src_1.16.tgz) -md5sums=('15a875e5aaf79c209c223babfb41cb1c') +license=('GPL2') +url="http://www.ladspa.org/cmt/overview.html" +depends=('gcc-libs') +makedepends=('ladspa') +groups=('ladspa-plugins' 'pro-audio') +source=("http://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz") +sha512sums=('be4aaa064183b6121b4ca8d7d2535cb9a3bcb557e3a2f22b45ec9775b0e296f70a9a7edf697b78095d6ef1564bb5459bb742649082ac724d1774c0790379af21') -build() { - cd "${srcdir}/${pkgname}/src" +prepare(){ + mv -v ${pkgname} ${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} + # fix CFLAGS sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \ -e 's|-Werror||g' \ - -i makefile + -i src/makefile +} + +build() { + cd ${pkgname}-${pkgver}/src make } package() { - cd "${srcdir}/${pkgname}/src" - install -m755 -d "${pkgdir}/usr/lib/ladspa" - install -m755 ../plugins/cmt.so "${pkgdir}/usr/lib/ladspa/" + cd ${pkgname}-${pkgver} + install -vDm 755 plugins/cmt.so -t "${pkgdir}/usr/lib/ladspa/" + # docs + install -vDm 644 {README,doc/*.html} -t "${pkgdir}/usr/share/doc/${pkgname}/" }
