Date: Sunday, February 26, 2023 @ 23:16:19
  Author: demize
Revision: 469677

archrelease: copy trunk to testing-x86_64

Added:
  psiconv/repos/testing-x86_64/
  psiconv/repos/testing-x86_64/PKGBUILD
    (from rev 469676, psiconv/trunk/PKGBUILD)
  psiconv/repos/testing-x86_64/psiconv.patch
    (from rev 469676, psiconv/trunk/psiconv.patch)

---------------+
 PKGBUILD      |   40 ++++++++++++++++++++++++++++++++++++++++
 psiconv.patch |   11 +++++++++++
 2 files changed, 51 insertions(+)

Copied: psiconv/repos/testing-x86_64/PKGBUILD (from rev 469676, 
psiconv/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2023-02-26 23:16:19 UTC (rev 469677)
@@ -0,0 +1,40 @@
+# Maintainer:
+# Contributor: Giovanni Scafora <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=psiconv
+pkgver=0.9.9
+pkgrel=8
+pkgdesc="Converts Psion 5(MX) files to more commonly used file formats"
+arch=('x86_64')
+url="http://software.frodo.looijaard.name/psiconv/";
+license=('GPL')
+depends=('graphicsmagick')
+makedepends=('bc')
+backup=('etc/psiconv/psiconv.conf')
+source=("http://www.frodo.looijaard.name/system/files/software/${pkgname}/${pkgname}-${pkgver}.tar.gz";
 psiconv.patch)
+md5sums=('286e427b10f4d10aaeef1944210a2ea6'
+         'SKIP')
+sha512sums=('ec21d1e4734ad79dc19146223d7016bd53b3a3bb602f3a55489663ccbf3a4c6f5c6417728e798b4448acc2e49ff5145f58c812edfdd6c11ee9060128b6157d3a'
+            'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|Magick-config|GraphicsMagick-config|g' -i configure.in
+  autoreconf -vi
+
+  patch -p1 <"$srcdir"/psiconv.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: psiconv/repos/testing-x86_64/psiconv.patch (from rev 469676, 
psiconv/trunk/psiconv.patch)
===================================================================
--- testing-x86_64/psiconv.patch                                (rev 0)
+++ testing-x86_64/psiconv.patch        2023-02-26 23:16:19 UTC (rev 469677)
@@ -0,0 +1,11 @@
+--- a/program/psiconv/psiconv.h        2023-02-26 23:52:30.388543728 +0100
++++ b/program/psiconv/psiconv.h        2023-02-27 00:04:01.305397816 +0100
+@@ -52,7 +52,7 @@
+   output_function *output;
+ } *fileformat;
+ 
+-psiconv_list fileformat_list; /* of struct psiconv_fileformat */
++static psiconv_list fileformat_list; /* of struct psiconv_fileformat */
+ 
+ 
+ #endif /* PSICONV_H */

Reply via email to