void-packages/srcpkgs/foomatic-db-nonfree/template
Jürgen Buchmüller e30c8c2966 foomatic-db-nonfree: needs tar in hostmakedepends
Also set the date version to today because it uses a "current" archive.
2020-05-27 11:29:34 +02:00

23 lines
668 B
Bash

# Template file for 'foomatic-db-nonfree'
# Note: update the version=<date> regularly like once/month.
pkgname=foomatic-db-nonfree
version=20200527
revision=1
archs=noarch
create_wrksrc=yes
build_style=gnu-configure
hostmakedepends="tar"
short_desc="OpenPrinting printer support - nonfree database"
maintainer="Orphaned <orphan@voidlinux.org>"
license="nonfree"
homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
repository="nonfree"
do_fetch() {
$XBPS_FETCH_CMD https://www.openprinting.org/download/foomatic/$pkgname-current.tar.gz
}
do_extract() {
tar xf ${XBPS_BUILDDIR}/${pkgname}-current.tar.gz \
--strip-components=1 -C ${wrksrc}
}