foomatic-db-nonfree: update to 20210104.

This commit is contained in:
fosslinux 2021-01-04 20:42:51 +11:00 committed by Piotr
parent ef1e7df4b3
commit 079afcc5bf
2 changed files with 15 additions and 11 deletions

View file

@ -1,24 +1,25 @@
# Template file for 'foomatic-db-nonfree' # Template file for 'foomatic-db-nonfree'
# Note: update the version=<date> regularly like once/month. # Update when there is a new commit at https://github.com/OpenPrinting/foomatic-db-nonfree.
pkgname=foomatic-db-nonfree pkgname=foomatic-db-nonfree
version=20201129 version=20210104
revision=1 revision=1
create_wrksrc=yes _commit=6ddae02ac89240c019f8b5026cfe70e30fd2b3db
wrksrc="${pkgname}-${_commit}"
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="tar xmlstarlet" hostmakedepends="tar xmlstarlet automake"
short_desc="OpenPrinting printer support - nonfree database" short_desc="OpenPrinting printer support - nonfree database"
maintainer="fosslinux <fosslinux@aussies.space>" maintainer="fosslinux <fosslinux@aussies.space>"
license="custom:Various Nonfree" license="custom:Various Nonfree"
homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic" homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
distfiles="https://github.com/OpenPrinting/foomatic-db-nonfree/archive/${_commit}.tar.gz"
checksum=958c1067a24c37cb753ee2b4aeb9e8325629f4363ce9e108f1f6d0f828e5b7c5
repository="nonfree" repository="nonfree"
do_fetch() { pre_configure() {
$XBPS_FETCH_CMD https://www.openprinting.org/download/foomatic/${pkgname}-current.tar.gz # From make_configure
} aclocal
autoconf
do_extract() { sed -i "s=\#include \<xmlversion.h\>=\#include \<libxml/xmlversion.h\>=g" configure
bsdtar -xf ${XBPS_BUILDDIR}/${pkgname}-current.tar.gz \
--strip-components=1 -C ${wrksrc}
} }
post_install() { post_install() {

View file

@ -0,0 +1,3 @@
site="https://github.com/OpenPrinting/foomatic-db-nonfree"
version="${version:0:4}.${version:4:2}.${version:6:2}"
pattern="relative-time datetime=\"\K\d{4}-\d{2}-\d{2}"