swh-lv2: fix license, other lint, use vsed

This commit is contained in:
Colin Booth 2021-05-13 23:40:24 -07:00 committed by Érico Nogueira Rolim
parent 3fe106f76f
commit 615c540285
1 changed files with 6 additions and 6 deletions

View File

@ -1,19 +1,19 @@
# Template file for 'swh-lv2'
pkgname=swh-lv2
version=1.0.16
revision=1
build_style=gnu-makefile
revision=2
wrksrc="lv2-${version}"
build_style=gnu-makefile
make_install_target="install-system"
homepage="http://plugin.org.uk/"
distfiles="https://github.com/swh/lv2/archive/v${version}.tar.gz"
hostmakedepends="pkg-config libxslt"
makedepends="fftw-devel"
short_desc="Collection of GPL (free software) LV2 audio plugins"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
license="GPL-3.0-or-later"
homepage="http://plugin.org.uk/"
distfiles="https://github.com/swh/lv2/archive/v${version}.tar.gz"
checksum=bc24512de6e2fb7a493226e2e01a80ba8462a318b15c3b0fd0cd914b018c3548
post_extract() {
sed -i -e 's|$(INSTALL_DIR_REALLY)|$(DESTDIR)/$(INSTALL_DIR)|' Makefile
vsed -i -e 's|$(INSTALL_DIR_REALLY)|$(DESTDIR)/$(INSTALL_DIR)|' Makefile
}