[arch-commits] Commit in libpano13/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sat Jan 22 22:22:53 UTC 2022


    Date: Saturday, January 22, 2022 @ 22:22:52
  Author: archange
Revision: 1113495

archrelease: copy trunk to community-x86_64

Added:
  libpano13/repos/community-x86_64/PKGBUILD
    (from rev 1113494, libpano13/trunk/PKGBUILD)
Deleted:
  libpano13/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-22 22:22:28 UTC (rev 1113494)
+++ PKGBUILD	2022-01-22 22:22:52 UTC (rev 1113495)
@@ -1,31 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Tobias Kieslich <tobias at justdreams.de>
-
-pkgname=libpano13
-pkgver=2.9.20
-pkgrel=1
-pkgdesc="Basic library to calculate panoramical pictures - core functions of the panotools"
-arch=(x86_64)
-url="http://panotools.sourceforge.net/"
-license=(GPL2)
-depends=(libpng libtiff)
-source=(https://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz)
-sha256sums=(3b532836c37b8cd75cd2227fd9207f7aca3fdcbbd1cce3b9749f056a10229b89)
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  autoreconf -fvi
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr --mandir=/usr/share/man
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}

Copied: libpano13/repos/community-x86_64/PKGBUILD (from rev 1113494, libpano13/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-22 22:22:52 UTC (rev 1113495)
@@ -0,0 +1,29 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at justdreams.de>
+
+pkgname=libpano13
+pkgver=2.9.21
+pkgrel=1
+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
+}



More information about the arch-commits mailing list