[ create a new paste ] login | about

Link: http://codepad.org/DHgwkA0g    [ raw code | fork ]

Plain Text, pasted on Oct 25:
# Contributor: DonVla <donvla@users.sourceforge.net>

pkgname=caps
pkgver=0.4.4
pkgrel=1
pkgdesc="The C* Audio Plugin Suite"
arch=('i686' 'x86_64')
url="http://quitte.de/dsp/caps.html"
license=('GPL')
options=(docs)
depends=('gcc-libs')
makedepends=('python2')
optdepends=('python2: optional CFLAGS check')
source=(http://quitte.de/dsp/${pkgname}_${pkgver}.tar.gz)
md5sums=('1f4a8d50257b6cbdaefecc78e3010d27')
sha256sums=('18f0339ce129cfbb506072687390928fea23f2b11673e43c7ccb1747709a1c8e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  # fix python issue
  sed 's|#! /usr/bin/env python|#!/usr/bin/env python2|g' -i configure.py
  
  type -p python 1>/dev/null && ./configure.py
  make || return 1
 }
 
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  install -v -m 0755 -D caps.so ${pkgdir}/usr/lib/ladspa/caps.so
  install -v -m 0644 -D caps.rdf ${pkgdir}/usr/share/ladspa/rdf/caps.rdf
  install -v -m 0644 -D caps.html ${pkgdir}/usr/share/doc/caps/caps.html
}



Create a new paste based on this one


Comments: