foomatic-db: update to 20210104.
This commit is contained in:
parent
ff0018bcc1
commit
ef1e7df4b3
2 changed files with 16 additions and 13 deletions
|
@ -1,23 +1,24 @@
|
||||||
# Template file for 'foomatic-db'
|
# Template file for 'foomatic-db'
|
||||||
# Note: update the version=<date> regularly like once/month.
|
# Update when there is a new commit at https://github.com/OpenPrinting/foomatic-db.
|
||||||
pkgname=foomatic-db
|
pkgname=foomatic-db
|
||||||
version=20201129
|
version=20210104
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
_commit=28466ef2f9f931f49816ed70c499001d1783f5cb
|
||||||
|
wrksrc="${pkgname}-${_commit}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="xmlstarlet tar"
|
hostmakedepends="xmlstarlet tar automake"
|
||||||
short_desc="OpenPrinting printer support - database"
|
short_desc="OpenPrinting printer support - database"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later, MIT"
|
license="GPL-2.0-or-later, MIT"
|
||||||
homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
|
homepage="https://wiki.linuxfoundation.org/openprinting/database/foomatic"
|
||||||
|
distfiles="https://github.com/OpenPrinting/foomatic-db/archive/${_commit}.tar.gz"
|
||||||
|
checksum=eb412f7967300ae49bd22a886ecd478767828eff5da4d1e875c3409898265866
|
||||||
|
|
||||||
do_fetch() {
|
pre_configure() {
|
||||||
$XBPS_FETCH_CMD https://www.openprinting.org/download/foomatic/${pkgname}-4.0-current.tar.gz
|
# Taken from make_configure
|
||||||
}
|
aclocal
|
||||||
|
autoconf
|
||||||
do_extract() {
|
sed -i "s=\#include \<xmlversion.h\>=\#include \<libxml/xmlversion.h\>=g" configure
|
||||||
bsdtar -xf ${XBPS_BUILDDIR}/${pkgname}-4.0-current.tar.gz \
|
|
||||||
--strip-components=1 -C ${wrksrc}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
pattern=$pkgname'-[\d.]+-\K[\d]+'
|
site="https://github.com/OpenPrinting/foomatic-db"
|
||||||
|
version="${version:0:4}.${version:4:2}.${version:6:2}"
|
||||||
|
pattern="relative-time datetime=\"\K\d{4}-\d{2}-\d{2}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue