void-packages/srcpkgs/libxdg-basedir/template

28 lines
874 B
Text

# Template file for 'libxdg-basedir'
pkgname=libxdg-basedir
version=1.2.0
revision=1
build_style=gnu-configure
homepage="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
short_desc="Implementation of the XDG Base Directory Specifications"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
#distfiles="${homepage}/${pkgname}-${version}.tar.gz"
distfiles="http://pkgs.fedoraproject.org/lookaside/pkgs/${pkgname}/${pkgname}-${version}.tar.gz/027aaf1495f6ffa4b5a563b511d5d3f3/${pkgname}-${version}.tar.gz"
checksum=dbabd6967130a443003eef8d5df46e518e7c929c56fc0aab6caa135508b874ce
libxdg-basedir-devel_package() {
depends="libxdg-basedir>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
libxdg-basedir_package() {
pkg_install() {
vmove usr
}
}