void-packages/srcpkgs/libxdg-basedir/template

28 lines
862 B
Bash

# Template file for 'libxdg-basedir'
pkgname=libxdg-basedir
version=1.2.0
revision=3
build_style=gnu-configure
short_desc="Implementation of the XDG Base Directory Specifications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
#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
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"
}
}