foomatic-db: always download latest

This commit is contained in:
Jürgen Buchmüller 2018-01-18 13:38:29 +01:00
parent 9ae9f55e57
commit fc1615325f
1 changed files with 11 additions and 3 deletions

View File

@ -1,12 +1,20 @@
# Template file for 'foomatic-db'
# Note: update the version=<date> regularly like once/month.
pkgname=foomatic-db
version=20180113
version=20180118
revision=1
noarch=yes
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="Juan RP <xtraeme@voidlinux.eu>"
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-4.0-$version.tar.gz"
checksum=b4aea2eb1e5869e858b71f94e4fe6a957e8b4f606660a54a29938458f3e67552
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}
}