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

Jelle van der Waa jelle at archlinux.org
Sun Nov 11 21:36:59 UTC 2018


    Date: Sunday, November 11, 2018 @ 21:36:58
  Author: jelle
Revision: 406390

archrelease: copy trunk to community-x86_64

Added:
  libsavitar/repos/community-x86_64/PKGBUILD
    (from rev 406389, libsavitar/trunk/PKGBUILD)
Deleted:
  libsavitar/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-11 21:36:48 UTC (rev 406389)
+++ PKGBUILD	2018-11-11 21:36:58 UTC (rev 406390)
@@ -1,42 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: neodarz <neodarz at neodarz.net>
-
-pkgname=libsavitar
-pkgver=3.4.1
-pkgrel=2
-pkgdesc="C++ implementation of 3mf loading with SIP python bindings"
-arch=('x86_64')
-url="https://github.com/Ultimaker/libsavitar"
-license=('AGPL')
-depends=('python' 'pugixml')
-makedepends=('cmake' 'python-sip' 'sip')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/libSavitar//archive/${pkgver}.tar.gz
-        https://github.com/Ultimaker/libSavitar/pull/8/commits/91aa70c6320461ae65600dce954b5ffb905b7039.patch)
-
-prepare() {
-  cd "libSavitar-${pkgver}"
-  sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages,DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
-  sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura),DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura),g' CMakeLists.txt
-
-  # don't install a second system pugixml; WONTFIX upstream due to:
-  # "It's been decided that an external dependency makes setting up your
-  # development environment for Cura needlessly difficult."
-  patch -Np1 -i "$srcdir"/91aa70c6320461ae65600dce954b5ffb905b7039.patch
-}
-
-build() {
-  cd "libSavitar-${pkgver}"
-  mkdir  build && cd build
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-    -DCMAKE_BUILD_TYPE=Release
-  make
-}
-
-package() {
-  cd "libSavitar-${pkgver}/build"
-  make DESTDIR="${pkgdir}" install
-}
-md5sums=('39ae53b073b5856dcebdeeaa43ca3b3b'
-         '8cb2ef4a8ff551114ac8520c6be42ec6')

Copied: libsavitar/repos/community-x86_64/PKGBUILD (from rev 406389, libsavitar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-11 21:36:58 UTC (rev 406390)
@@ -0,0 +1,42 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: neodarz <neodarz at neodarz.net>
+
+pkgname=libsavitar
+pkgver=3.5.1
+pkgrel=1
+pkgdesc="C++ implementation of 3mf loading with SIP python bindings"
+arch=('x86_64')
+url="https://github.com/Ultimaker/libsavitar"
+license=('AGPL')
+depends=('python' 'pugixml')
+makedepends=('cmake' 'python-sip' 'sip')
+source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/libSavitar//archive/${pkgver}.tar.gz
+        https://github.com/Ultimaker/libSavitar/pull/8/commits/91aa70c6320461ae65600dce954b5ffb905b7039.patch)
+
+prepare() {
+  cd "libSavitar-${pkgver}"
+  sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages,DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+  sed -i 's,DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura),DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura),g' CMakeLists.txt
+
+  # don't install a second system pugixml; WONTFIX upstream due to:
+  # "It's been decided that an external dependency makes setting up your
+  # development environment for Cura needlessly difficult."
+  patch -Np1 -i "$srcdir"/91aa70c6320461ae65600dce954b5ffb905b7039.patch
+}
+
+build() {
+  cd "libSavitar-${pkgver}"
+  mkdir  build && cd build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd "libSavitar-${pkgver}/build"
+  make DESTDIR="${pkgdir}" install
+}
+md5sums=('308d1198fdb5f8dad800bff694e011fe'
+         '8cb2ef4a8ff551114ac8520c6be42ec6')


More information about the arch-commits mailing list