void-packages/srcpkgs/xdg-utils/template

22 lines
633 B
Plaintext

# Template file for 'xdg-utils'
pkgname=xdg-utils
_distver=1.1.0
_patchver=rc2
version="${_distver}${_patchver}"
revision=1
noarch="yes"
build_style=gnu-configure
short_desc="Tools to assist applications with various desktop integration tasks"
update_site="http://cgit.freedesktop.org/xdg/xdg-utils/"
update_pattern='/tag/\?id=\K[\d\w-.]+'
homepage="http://portland.freedesktop.org/"
license="MIT"
maintainer="Juan RP <xtraeme@gmail.com>"
hostmakedepends="git xmlto lynx"
do_fetch() {
git clone git://anongit.freedesktop.org/xdg/xdg-utils ${pkgname}-${version}
cd ${pkgname}-${version}
git checkout "v${_distver}-${_patchver}"
}