PKGBUILDs/community/x42-plugins/PKGBUILD

39 lines
1.1 KiB
Bash
Raw Normal View History

2018-06-06 12:51:57 +00:00
# $Id$
2018-02-07 03:29:04 +00:00
# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: Lieven Moors <lievenmoors@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - export OPTIMIZATIONS to override Makefiles without x86isms
pkgname=x42-plugins
2018-08-03 19:15:51 +00:00
pkgver=20180803
pkgrel=1
2018-02-07 03:29:04 +00:00
pkgdesc="Collection of LV2 plugins"
arch=('x86_64')
url="https://github.com/x42/x42-plugins"
license=('GPL')
2018-07-27 13:48:13 +00:00
depends=('ftgl' 'jack' 'liblo' 'libltc' 'pango' 'zita-convolver')
2018-08-03 19:15:51 +00:00
makedepends=('gtk2' 'ttf-dejavu' 'lv2')
2018-06-06 12:51:57 +00:00
groups=('lv2-plugins' 'pro-audio')
2018-08-03 19:15:51 +00:00
source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha512sums=('a88e72d858c5d820971e8741bdd75d75827cd64d7cde4f02113092d3050d39b0fec99f9fa79d83db537e9260d37a93f098205563e3c1606de6075b8671cc759d')
2018-07-24 00:25:27 +00:00
prepare() {
2018-08-03 19:15:51 +00:00
cd "${pkgname}-${pkgver}"
2018-07-27 13:48:13 +00:00
# replace ttf-freefont with ttf-liberation
2018-08-03 19:15:51 +00:00
export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
2018-07-24 00:25:27 +00:00
}
2018-02-07 03:29:04 +00:00
build() {
cd "${pkgname}-${pkgver}"
export OPTIMIZATIONS="-ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only"
2018-07-27 13:48:13 +00:00
make
2018-02-07 03:29:04 +00:00
}
package() {
cd "${pkgname}-${pkgver}"
make install DESTDIR="$pkgdir/" PREFIX=/usr
}
# vim:set ts=2 sw=2 et: