PKGBUILDs/community/x42-plugins/PKGBUILD
2018-08-15 12:28:15 +00:00

39 lines
1.1 KiB
Bash

# $Id$
# 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
pkgver=20180812
pkgrel=1
pkgdesc="Collection of LV2 plugins"
arch=('x86_64')
url="https://github.com/x42/x42-plugins"
license=('GPL')
depends=('ftgl' 'jack' 'liblo' 'libltc' 'pango' 'zita-convolver')
makedepends=('gtk2' 'ttf-dejavu' 'lv2')
groups=('lv2-plugins' 'pro-audio')
source=("http://gareus.org/misc/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha512sums=('26d381c5bda9022a2d150204318e3a390e1b6ad2fd0131d751fd877965e4d8fdff6275325b02118e067f709c9b66894813634e2232de0414a18ec61a0d79b1ca')
prepare() {
cd "${pkgname}-${pkgver}"
# replace ttf-freefont with ttf-liberation
export FONTFILE=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
}
build() {
cd "${pkgname}-${pkgver}"
export OPTIMIZATIONS="-ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only"
make
}
package() {
cd "${pkgname}-${pkgver}"
make install DESTDIR="$pkgdir/" PREFIX=/usr
}
# vim:set ts=2 sw=2 et: