Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / 
foomatic-db-engine


Commits:
94c8f856 by Andreas Radke at 2024-02-20T21:48:16+01:00
add nvchecker.toml

- - - - -
73be1b61 by Andreas Radke at 2024-02-20T21:49:19+01:00
upgpkg: 5:20200131-1
- SPDX license
- add nvchecker.toml
- drop unneeded makedepends
- stick to latest commit date to avoid pkgver bumps on rebuilds

- - - - -


3 changed files:

- + .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,28 @@
+pkgbase = foomatic-db-engine
+       pkgdesc = Foomatic - Foomatic's database engine generates PPD files 
from the data in Foomatic's XML database. It also contains scripts to directly 
generate print queues and handle jobs.
+       pkgver = 20200131
+       pkgrel = 1
+       epoch = 5
+       url = http://www.linuxprinting.org/foomatic.html
+       arch = x86_64
+       license = GPL-2.0-or-later
+       makedepends = cups
+       makedepends = ghostscript
+       makedepends = a2ps
+       makedepends = wget
+       makedepends = foomatic-db
+       makedepends = git
+       depends = perl
+       depends = libxml2
+       depends = cups-filters
+       depends = glibc
+       depends = bash
+       depends = perl-xml-libxml
+       depends = perl-clone
+       depends = perl-dbi
+       optdepends = foomatic-db:       linuxprinting.org xml files database to 
create ppd driver files
+       backup = etc/foomatic/defaultspooler
+       source = 
foomatic-db-engine::git+https://github.com/OpenPrinting/foomatic-db-engine-4#commit=bd265b77a9f66f672bf1e3f0803145f2eccabf06
+       sha256sums = SKIP
+
+pkgname = foomatic-db-engine


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,9 @@
+[foomatic-db-engine]
+source = "github"
+github = "OpenPrinting/foomatic-db-engine-4"
+# gives date+clock: 20200131.095854 - no tags
+#use_max_tag = true
+
+#source = "git"
+#git = "https://github.com/OpenPrinting/foomatic-db-engine-4.git";
+#use_commit = "true"


=====================================
PKGBUILD
=====================================
@@ -2,26 +2,29 @@
 
 pkgname=foomatic-db-engine
 arch=('x86_64')
-pkgver=20230725
+pkgver=20200131
 pkgrel=1
-epoch=4
+epoch=5
 url="http://www.linuxprinting.org/foomatic.html";
 pkgdesc="Foomatic - Foomatic's database engine generates PPD files from the 
data in Foomatic's XML database. It also contains scripts to directly generate 
print queues and handle jobs."
-license=('GPL2')
-depends=('perl' 'libxml2' "cups-filters>=1.0.42" 'bash' 'perl-xml-libxml' 
'perl-clone' 'perl-dbi')
-makedepends=('cups' 'ghostscript' 'a2ps' 'wget' 'perl-xml-libxml' 
'foomatic-db' 'git')
+license=('GPL-2.0-or-later')
+depends=('perl' 'libxml2' 'cups-filters' 'glibc' 'bash' 'perl-xml-libxml' 
'perl-clone' 'perl-dbi')
+makedepends=('cups' 'ghostscript' 'a2ps' 'wget' 'foomatic-db' 'git')
 optdepends=('foomatic-db:      linuxprinting.org xml files database to create 
ppd driver files')
 backup=('etc/foomatic/defaultspooler')
 
 # check https://github.com/OpenPrinting/foomatic-db-engine
 
-#source=(foomatic-db-engine::git+https://github.com/OpenPrinting/foomatic-db-engine#commit=068c92311018a75c621c57328845b439d789bf50
    #20200131  # master development branch
-source=(foomatic-db-engine::git+https://github.com/OpenPrinting/foomatic-db-engine-4#commit=bd265b77a9f66f672bf1e3f0803145f2eccabf06
   #20200131  # master stable branch
+#source=(foomatic-db-engine::git+https://github.com/OpenPrinting/foomatic-db-engine#commit=068c92311018a75c621c57328845b439d789bf50
    #20200131  # master development branch (4.1.x)
+source=(foomatic-db-engine::git+https://github.com/OpenPrinting/foomatic-db-engine-4#commit=bd265b77a9f66f672bf1e3f0803145f2eccabf06
   #20200131  # master stable branch (4.0.x)
 )
 sha256sums=('SKIP')
 
 pkgver() {
-  date +%Y%m%d
+#  date +%Y%m%d
+  # use latest commit date (no automated tag date)
+  cd "$pkgname"
+  git log --pretty="format:%ci %d" | head -n 1 | cut -c 1-10 | sed 's/-//g'
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/foomatic-db-engine/-/compare/394d7cc8d7638c3b496ce73eab455f44a09dbca7...73be1b61bf8776c6596741c72df7091b21ac123d

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/foomatic-db-engine/-/compare/394d7cc8d7638c3b496ce73eab455f44a09dbca7...73be1b61bf8776c6596741c72df7091b21ac123d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to