PKGBUILDs/community/calf/PKGBUILD

42 lines
1,023 B
Bash
Raw Normal View History

2018-06-06 12:51:17 +00:00
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2019-02-18 15:13:19 +00:00
# Contributor: David Runge <dave@sleepmap.de>
2014-01-20 19:50:59 +00:00
# Contributor: Ray Rashif <schiv@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2016-02-07 21:33:15 +00:00
# - remove --enable-sse from configure
2014-01-20 19:50:59 +00:00
pkgname=calf
2019-07-18 12:42:57 +00:00
pkgver=0.90.3
2021-08-02 23:17:13 +00:00
pkgrel=5
2019-04-16 00:19:47 +00:00
pkgdesc='LV2 plug-in suite and standalone Jack host'
2020-12-22 14:58:38 +00:00
arch=(x86_64)
2019-04-16 00:19:47 +00:00
url="https://calf-studio-gear.org"
2020-12-22 14:58:38 +00:00
groups=(lv2-plugins pro-audio)
license=(LGPL2.1)
2020-12-25 15:58:32 +00:00
depends=(fftw fluidsynth gtk2)
2020-12-22 14:58:38 +00:00
makedepends=(lv2)
2019-04-16 00:19:47 +00:00
source=("https://calf-studio-gear.org/files/$pkgname-$pkgver.tar.gz")
2019-07-18 12:42:57 +00:00
sha256sums=('e32bc23fb68f88729bdef361614fd9ac38627c774c35cd3c4eb611fca887a49f')
2014-01-20 19:50:59 +00:00
2019-02-18 15:13:19 +00:00
prepare(){
2020-12-22 14:58:38 +00:00
cd $pkgname-$pkgver
2019-02-18 15:13:19 +00:00
autoreconf -vfi
}
2015-04-12 02:06:08 +00:00
2019-02-18 15:13:19 +00:00
build() {
2020-12-22 14:58:38 +00:00
cd $pkgname-$pkgver
./configure \
--enable-experimental \
--prefix=/usr \
--with-lv2
2021-08-02 23:17:13 +00:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2014-01-20 19:50:59 +00:00
make
}
package() {
2020-12-22 14:58:38 +00:00
cd $pkgname-$pkgver
2019-02-18 15:13:19 +00:00
make DESTDIR="$pkgdir" install
2019-07-18 12:42:57 +00:00
install -vDm 644 {AUTHORS,ChangeLog,README} \
2020-12-22 14:58:38 +00:00
-t "$pkgdir/usr/share/doc/$pkgname"
2014-01-20 19:50:59 +00:00
}