Date: Wednesday, February 2, 2022 @ 16:20:12
  Author: andyrtr
Revision: 435821

archrelease: copy trunk to staging-x86_64

Added:
  liborcus/repos/staging-x86_64/
  liborcus/repos/staging-x86_64/PKGBUILD
    (from rev 435820, liborcus/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: liborcus/repos/staging-x86_64/PKGBUILD (from rev 435820, 
liborcus/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2022-02-02 16:20:12 UTC (rev 435821)
@@ -0,0 +1,32 @@
+# Maintainer: AndyRTR <andy...@archlinux.org>
+# Contributor: Thomas Arnhold <thomas at arnhold dot org>
+
+pkgname=liborcus
+pkgver=0.17.2
+pkgrel=1
+pkgdesc="File import filter library for spreadsheet documents."
+arch=('x86_64')
+url="https://gitlab.com/orcus/orcus/blob/master/README.md";
+license=('MPL')
+depends=('libixion')
+makedepends=('boost' 'mdds')
+source=(https://kohei.us/files/orcus/src/${pkgname}-${pkgver}.tar.xz)
+# https://gitlab.com/orcus/orcus/-/releases
+sha256sums=('30509d414e3cf439e0ae1e0c31b4b0ef5b2bb8e2b2404e3cb7d44a72162640ab')
+
+build() {
+    cd "${pkgname}"-${pkgver}
+    ./configure --prefix=/usr
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+    make
+}
+
+check() {
+    cd "${pkgname}"-${pkgver}
+    make check
+}
+
+package() {
+    cd "${pkgname}"-${pkgver}
+    make DESTDIR="$pkgdir" install
+}

Reply via email to