void-packages/srcpkgs/libpar2/template

24 lines
785 B
Bash

# Template file for 'libpar2'
pkgname=libpar2
version=0.4
revision=1
build_style=gnu-configure
maintainer="Orphaned <orphan@voidlinux.eu>"
hostmakedepends="pkg-config"
makedepends="libsigc++-devel"
license="GPL-2"
homepage="https://launchpad.net/libpar2"
short_desc="Allows for the generation, modification, verification, and repair of PAR and PAR2 recovery sets"
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=316d6f0eb31eb896f5546171c2e86801aeffe5ae5e2decffc17f0018346796d4
libpar2-devel_package() {
depends="libsigc++-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/libpar2/include/
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}