void-packages/srcpkgs/zita-at1/template
Érico Rolim f3d06c1c23 zita-at1: fix resource location.
It install resources in /usr/share, but was built with
PREFIX=/usr/local/share. This commit passes PREFIX=/usr during build
time to fix that.

Also:

- Use vsed instead of sed
- Remove unnecessary sed for -march=native, issue now fixed in the
gnu-makefile style

Fixes #27002.
2020-12-06 22:03:54 -03:00

21 lines
770 B
Bash

# Template file for 'zita-at1'
pkgname=zita-at1
version=0.6.2
revision=2
build_wrksrc=source
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
hostmakedepends="pkg-config"
makedepends="clxclient-devel clthreads-devel zita-resampler-devel cairo-devel
freetype-devel fftw-devel jack-devel libpng-devel libXft-devel libX11-devel"
short_desc="Audio autotuner for JACK"
maintainer="bluntphenomena <gregwyd@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://kokkinizita.linuxaudio.org/linuxaudio/"
distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2"
checksum=19bb3ddc02b32d6ad15fdd928ee66c2e5bb5e4c7fe465c431e98c2fd83b1ae57
pre_build() {
# change pkgconf to pkg-config
vsed -e 's/pkgconf/pkg-config/' -i Makefile
}