void-packages/srcpkgs/foomatic-db-nonfree/template

22 lines
643 B
Bash

# Template file for 'foomatic-db-nonfree'
# Note: update the version=<date> regularly like once/month.
pkgname=foomatic-db-nonfree
version=20180118
revision=1
noarch=yes
create_wrksrc=yes
repository="nonfree"
build_style=gnu-configure
short_desc="OpenPrinting printer support - nonfree database"
homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="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}
}