Date: Monday, January 2, 2023 @ 22:23:21
  Author: felixonmars
Revision: 1374038

archrelease: copy trunk to community-staging-x86_64

Added:
  libpano13/repos/community-staging-x86_64/
  libpano13/repos/community-staging-x86_64/PKGBUILD
    (from rev 1374037, libpano13/trunk/PKGBUILD)

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

Copied: libpano13/repos/community-staging-x86_64/PKGBUILD (from rev 1374037, 
libpano13/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-01-02 22:23:21 UTC (rev 1374038)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
+# Contributor: Tobias Kieslich <[email protected]>
+
+pkgname=libpano13
+pkgver=2.9.21
+pkgrel=3
+pkgdesc="Basic library to calculate panoramical pictures - core functions of 
the panotools"
+arch=(x86_64)
+url="http://panotools.sourceforge.net/";
+license=(GPL2)
+depends=(libjpeg libpng libtiff suitesparse)
+makedepends=(cmake)
+source=(https://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('79e5a1452199305e2961462720ef5941152779c127c5b96fc340d2492e633590')
+
+build() {
+  cmake -B build -S ${pkgname}-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_SPARSE_LEVMAR=ON
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+  mkdir "${pkgdir}"/usr/share/doc
+  mv "${pkgdir}"/usr/share/{pano13/doc,doc/pano13}
+  rmdir "${pkgdir}"/usr/share/pano13
+}

Reply via email to