void-packages/srcpkgs/foomatic-db/template

20 lines
612 B
Bash

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