foomatic-db-nonfree: always download latest

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

View File

@ -1,6 +1,7 @@
# Template file for 'foomatic-db-nonfree' # Template file for 'foomatic-db-nonfree'
# Note: update the version=<date> regularly like once/month.
pkgname=foomatic-db-nonfree pkgname=foomatic-db-nonfree
version=20180113 version=20180118
revision=1 revision=1
noarch=yes noarch=yes
repository="nonfree" repository="nonfree"
@ -9,5 +10,11 @@ short_desc="OpenPrinting printer support - nonfree database"
homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic" homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="nonfree" license="nonfree"
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz"
checksum=35294ffcd7f701db8309764ec8f4c3503f69a0f2751ffa4d03d39855030852c9 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}
}