summaryrefslogtreecommitdiff
path: root/pcr/lv2-c++-tools/PKGBUILD
blob: de2e6957882735838ec93c5c15336c9e65e52704 (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
30
31
32
33
# Maintainer : Guest One <theguestone at gmail dot com>
# patch taken from https://aur.archlinux.org/packages/lv2-c%2B%2B-tools/
pkgname=lv2-c++-tools
pkgver=1.0.4
pkgrel=1
pkgdesc="Tools and libraries that may come in handy when writing LV2 plugins."
arch=('i686')
url="http://ll-plugins.nongnu.org/hacking.html"
license=('GPL3')
depends=('gtkmm')
makedepends=('boost')
source=("http://download.savannah.nongnu.org/releases-noredirect/ll-plugins/$pkgname-$pkgver.tar.bz2"
        "$pkgname-boost-1.50.patch")
md5sums=('2468f8750bae1d57300853479846e5ed'
         '1dd1152e9ab8be15248b54546716c8c9')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # boots 1.50 patch
  patch -p1 -i ../${source[1]}

  # do not call ldconfig
  sed -i '/ldconfig/d' Makefile.template

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}