foomatic-db-nonfree: update to 20210104.
This commit is contained in:
parent
ef1e7df4b3
commit
079afcc5bf
2 changed files with 15 additions and 11 deletions
|
@ -1,24 +1,25 @@
|
|||
# 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
|
||||
version=20201129
|
||||
version=20210104
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
_commit=6ddae02ac89240c019f8b5026cfe70e30fd2b3db
|
||||
wrksrc="${pkgname}-${_commit}"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="tar xmlstarlet"
|
||||
hostmakedepends="tar xmlstarlet automake"
|
||||
short_desc="OpenPrinting printer support - nonfree database"
|
||||
maintainer="fosslinux <fosslinux@aussies.space>"
|
||||
license="custom:Various Nonfree"
|
||||
homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
|
||||
distfiles="https://github.com/OpenPrinting/foomatic-db-nonfree/archive/${_commit}.tar.gz"
|
||||
checksum=958c1067a24c37cb753ee2b4aeb9e8325629f4363ce9e108f1f6d0f828e5b7c5
|
||||
repository="nonfree"
|
||||
|
||||
do_fetch() {
|
||||
$XBPS_FETCH_CMD https://www.openprinting.org/download/foomatic/${pkgname}-current.tar.gz
|
||||
}
|
||||
|
||||
do_extract() {
|
||||
bsdtar -xf ${XBPS_BUILDDIR}/${pkgname}-current.tar.gz \
|
||||
--strip-components=1 -C ${wrksrc}
|
||||
pre_configure() {
|
||||
# From make_configure
|
||||
aclocal
|
||||
autoconf
|
||||
sed -i "s=\#include \<xmlversion.h\>=\#include \<libxml/xmlversion.h\>=g" configure
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
3
srcpkgs/foomatic-db-nonfree/update
Normal file
3
srcpkgs/foomatic-db-nonfree/update
Normal 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}"
|
Loading…
Reference in a new issue