void-packages/srcpkgs/libcue/template
2020-07-08 16:18:33 +02:00

28 lines
741 B
Bash

# Template file for 'libcue'
pkgname=libcue
version=2.2.1
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="bison flex"
short_desc="CUE Sheet Parser Library"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, BSD-2-Clause"
homepage="https://github.com/lipnitsk/libcue"
distfiles="https://github.com/lipnitsk/libcue/archive/v${version}.tar.gz"
checksum=f27bc3ebb2e892cd9d32a7bee6d84576a60f955f29f748b9b487b173712f1200
libcue-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
post_install() {
head -22 rem.c > COPYING.BSD
vlicense COPYING.BSD
}