summaryrefslogtreecommitdiff
path: root/extra/cmt/PKGBUILD
blob: 205ec45e9af3cb85016ea001073c514eb60e3827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 137734 2011-09-10 14:32:08Z pierre $
#Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
#Contributor: Robert Emil Berge <robert@rebi.no>

pkgname=cmt
pkgver=1.16
pkgrel=3.2
pkgdesc="CMT for LADSPA"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.ladspa.org"
depends=('ladspa' 'gcc-libs')
groups=('ladspa-plugins')
source=("http://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz")
md5sums=('15a875e5aaf79c209c223babfb41cb1c')

build() {
  cd "${srcdir}/${pkgname}/src"
  sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
      -e 's|-Werror||g' \
      -i makefile
  make
}

package() {
  cd "${srcdir}/${pkgname}/src"
  install -m755 -d "${pkgdir}/usr/lib/ladspa"
  install -m755 ../plugins/cmt.so "${pkgdir}/usr/lib/ladspa/"
}