void-packages/srcpkgs/libxdg-basedir/template

24 lines
838 B
Bash

# Template file for 'libxdg-basedir'
pkgname=libxdg-basedir
version=1.2.0
revision=2
build_style=gnu-configure
homepage="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
short_desc="Implementation of the XDG Base Directory Specifications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}