[arch-commits] Commit in opensp/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Allan McRae allan at archlinux.org
Thu May 7 05:10:55 UTC 2020


    Date: Thursday, May 7, 2020 @ 05:10:55
  Author: allan
Revision: 382561

archrelease: copy trunk to extra-x86_64

Added:
  opensp/repos/extra-x86_64/PKGBUILD
    (from rev 382560, opensp/trunk/PKGBUILD)
Deleted:
  opensp/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-07 05:10:39 UTC (rev 382560)
+++ PKGBUILD	2020-05-07 05:10:55 UTC (rev 382561)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=opensp
-pkgver=1.5.2
-pkgrel=8
-pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents"
-arch=('x86_64')
-url="http://openjade.sourceforge.net/"
-license=('BSD')
-depends=('sgml-common' 'perl')
-makedepends=('xmlto' 'docbook-xsl')
-source=("https://downloads.sourceforge.net/project/openjade/opensp/$pkgver/OpenSP-$pkgver.tar.gz")
-sha256sums=('57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce')
-
-build() {
-  cd OpenSP-$pkgver
-  ./configure --prefix=/usr \
-    --mandir=/usr/share/man \
-    --disable-nls \
-    --enable-http \
-    --enable-default-catalog=/etc/sgml/catalog \
-    --enable-default-search-path=/usr/share/sgml:/usr/share/xml \
-    --enable-xml-messages
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd OpenSP-$pkgver
-  make check || /bin/true
-}
-
-package() {
-  cd OpenSP-$pkgver
-  make DESTDIR="${pkgdir}" install
-
-  # add symlinks for compatibility with jade, see FS#49775
-  for file in nsgmls sgmlnorm spam spcat spent sx ; do
-    ln -s o$file $pkgdir/usr/bin/$file
-    echo ".so man1/o${file}.1" > $pkgdir/usr/share/man/man1/${file}.1
-  done
-  ln -v -sf libosp.so $pkgdir/usr/lib/libsp.so
-
-  # Rename sx to sgml2xml; FS#49792
-  mv $pkgdir/usr/bin/sx $pkgdir/usr/bin/sgml2xml
-  mv $pkgdir/usr/share/man/man1/{sx,sgml2xml}.1
-  
-  install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: opensp/repos/extra-x86_64/PKGBUILD (from rev 382560, opensp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-07 05:10:55 UTC (rev 382561)
@@ -0,0 +1,51 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=opensp
+pkgver=1.5.2
+pkgrel=9
+pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents"
+arch=('x86_64')
+url="http://openjade.sourceforge.net/"
+license=('BSD')
+depends=('sgml-common' 'perl')
+makedepends=('xmlto' 'docbook-xsl')
+source=("https://downloads.sourceforge.net/project/openjade/opensp/$pkgver/OpenSP-$pkgver.tar.gz")
+sha256sums=('57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce')
+
+build() {
+  cd OpenSP-$pkgver
+  ./configure --prefix=/usr \
+    --mandir=/usr/share/man \
+    --disable-nls \
+    --enable-http \
+    --enable-default-catalog=/etc/sgml/catalog \
+    --enable-default-search-path=/usr/share/sgml:/usr/share/xml \
+    --enable-xml-messages
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd OpenSP-$pkgver
+  make check || /bin/true
+}
+
+package() {
+  cd OpenSP-$pkgver
+  make DESTDIR="${pkgdir}" install
+
+  # add symlinks for compatibility with jade, see FS#49775
+  for file in nsgmls sgmlnorm spam spcat spent sx ; do
+    ln -s o$file $pkgdir/usr/bin/$file
+    echo ".so man1/o${file}.1" > $pkgdir/usr/share/man/man1/${file}.1
+  done
+  ln -v -sf libosp.so $pkgdir/usr/lib/libsp.so
+
+  # Rename sx to sgml2xml; FS#49792
+  mv $pkgdir/usr/bin/sx $pkgdir/usr/bin/sgml2xml
+  mv $pkgdir/usr/share/man/man1/{sx,sgml2xml}.1
+  
+  install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list