[arch-commits] Commit in foomatic-db-engine/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Thu Feb 6 06:16:37 UTC 2020


    Date: Thursday, February 6, 2020 @ 06:16:36
  Author: andyrtr
Revision: 374725

upgpkg: foomatic-db-engine 4:20200206-1: update to latest git commit from stable branch

Modified:
  foomatic-db-engine/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-06 00:28:19 UTC (rev 374724)
+++ PKGBUILD	2020-02-06 06:16:36 UTC (rev 374725)
@@ -2,7 +2,7 @@
 
 pkgname=foomatic-db-engine
 arch=('x86_64')
-pkgver=4.0.13
+pkgver=20200206
 pkgrel=1
 epoch=4
 url="http://www.linuxprinting.org/foomatic.html"
@@ -9,15 +9,25 @@
 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') # 'enscript' 'net-snmp'
+makedepends=('cups' 'ghostscript' 'a2ps' 'wget' 'perl-xml-libxml' 'foomatic-db' 'git')
 optdepends=('foomatic-db:	linuxprinting.org xml files database to create ppd driver files')
 backup=('etc/foomatic/defaultspooler')
-source=(https://www.openprinting.org/download/foomatic/$pkgname-$pkgver.tar.gz)
-sha256sums=('b5c89027aa26967d2e6db62e2af7db0c4039d2480d4fbf2476a6ddcf609a5faf')
 
+# 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
+)
+sha256sums=('SKIP')
+
+pkgver() {
+  date +%Y%m%d
+}
+
 build() {
   export LIB_CUPS="/usr/lib/cups"
-  cd "$pkgname"-$pkgver
+  cd "$pkgname" #-$pkgver
+  ./make_configure
   PERL_INSTALLDIRS=vendor \
   ./configure --prefix=/usr \
     --sbindir=/usr/bin
@@ -25,7 +35,7 @@
 }
 
 package() {
-  cd "$pkgname"-$pkgver
+  cd "$pkgname" #-$pkgver
   make DESTDIR="${pkgdir}" install
 
   # preset default spooler



More information about the arch-commits mailing list