void-packages/srcpkgs/libxdg-basedir/template

33 lines
842 B
Bash

# Template file for 'libxdg-basedir'
pkgname=libxdg-basedir
version=1.2.0
revision=4
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Implementation of the XDG Base Directory Specifications"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="https://github.com/devnev/libxdg-basedir"
distfiles="https://github.com/devnev/libxdg-basedir/archive/libxdg-basedir-${version}.tar.gz"
checksum=1c2b0032a539033313b5be2e48ddd0ae94c84faf21d93956d53562eef4614868
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING
}
libxdg-basedir-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}