Date: Monday, October 26, 2020 @ 23:32:00
  Author: dvzrv
Revision: 734102

upgpkg: t1utils 1.41-4: Rebuild to properly apply patch.

Update pkgdesc to upstream's description on github.
Update url to github project.
Update source to github tarball and remove custom LICENSE (it's in the tarball).
Run autoreconf in prepare() (fixes FS#57999).
Install docs.
Update maintainer info.

Modified:
  t1utils/trunk/PKGBUILD
Deleted:
  t1utils/trunk/LICENSE

----------+
 LICENSE  |   22 ----------------------
 PKGBUILD |   42 +++++++++++++++++++++++-------------------
 2 files changed, 23 insertions(+), 41 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE     2020-10-26 22:16:30 UTC (rev 734101)
+++ LICENSE     2020-10-26 23:32:00 UTC (rev 734102)
@@ -1,22 +0,0 @@
-The README file includes the following notices:
-
-   Changes since version 1.2 (c) 1998-2000 Eddie Kohler, under the
-   same redistribution copyright as I. Lee Hetherington's. See below
-   for I. Lee Hetherington's original README from 1992, updated
-   slightly for today's t1utils.
-
-   Eddie Kohler
-   eddie...@lcs.mit.edu
-
-   Copyright (c) 1992 by I. Lee Hetherington, all rights reserved.
-
-   Permission is hereby granted to use, modify, and distribute this
-   program for any purpose provided this copyright notice and the one
-   below remain intact.
-
-   Note that these tools should not be used to illegally copy type-1
-   font programs.  Typeface design is an intricate art that should be
-   rewarded.
-
-   I. Lee Hetherington
-   i...@lcs.mit.edu

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-10-26 22:16:30 UTC (rev 734101)
+++ PKGBUILD    2020-10-26 23:32:00 UTC (rev 734102)
@@ -1,39 +1,43 @@
-# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
-# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
-# Maintainer: Simo Leone <neot...@gmail.com>
+# Maintainer: David Runge <dv...@archlinux.org>
+# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Simo Leone <neot...@gmail.com>
 
 pkgname=t1utils
 pkgver=1.41
-pkgrel=3
-pkgdesc="A collection of simple Type 1 font manipulation programs"
+pkgrel=4
+pkgdesc="Utilities for manupulating Adobe Type 1 font software "
 arch=('x86_64')
-url="https://www.lcdf.org/~eddietwo/type/#t1utils";
-license=("custom")
+url="https://github.com/kohler/t1utils";
+license=('custom')
 depends=('glibc')
-source=("https://www.lcdf.org/~eddietwo/type/$pkgname-$pkgver.tar.gz";
-        
"memmem-decl.patch::https://github.com/kohler/t1utils/commit/3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch";
-        "LICENSE")
-sha512sums=('b532d3af38a73903a512eb1297ba7510747dcbe8362acc4a0f20f2a3c786d82d8f5b22997ed3867114f33153a34cdd71c4c8e6a093db3cecc3825b6e4725a00b'
-            
'573a15133e8227100820039aaf5dea12d038674dd486510a38647e9f500c9de2c16034d99c8b26444f6c7253fe788833aa6dbd3f46be389bc1ca1b031deb51c8'
-            
'82dbc206391a9f9116038be74360455c960ddb76e35fdeb123044f74c74014223c3b35d7f1894ae7224c7a9e091acc1ff00df2a43d38a856b4f75988fb4dbd3e')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kohler/${pkgname}/archive/v${pkgver}.tar.gz";
+        
"${pkgname}-1.41-memmem-decl.patch::https://github.com/kohler/${pkgname}/commit/3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch";)
+sha512sums=('155406eb56721ed2c3298c9ddd0a1bcac0f782f37dc209ed993fee356d4455b8462970b8da70f189bfff55ab60522cd9e4d1f505429f8008e57a15a5f75e1381'
+            
'573a15133e8227100820039aaf5dea12d038674dd486510a38647e9f500c9de2c16034d99c8b26444f6c7253fe788833aa6dbd3f46be389bc1ca1b031deb51c8')
+b2sums=('6c6e20d5816a2333e5cc1fe619e28d0930343b58837ce839f076360993b37e40672d69858947368f375e2105c72fe8d2613a8e7b940f8dba05efbd024f142d98'
+        
'571231de362261aa9f7cda5c0180e26027177703d40e8ad30d3a1edc51cd1190c93d9930db51ebf54dd2745a59feab7721232ebb3614d1568a47e439c240500a')
 
 prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
+  cd "${pkgname}-${pkgver}"
+  # check for memmem declaration
   # FS#57999 and https://github.com/kohler/t1utils/issues/8
-  patch -p1 -i "${srcdir}/memmem-decl.patch"
+  patch -p1 -i "${srcdir}/${pkgname}-1.41-memmem-decl.patch"
+  autoreconf -vfi
 }
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
-  install -D -m644 "${srcdir}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 {NEWS,README}.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
 }
 

Reply via email to