[arch-commits] Commit in assimp/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Mon Nov 29 11:48:16 UTC 2021
Date: Monday, November 29, 2021 @ 11:48:16
Author: svenstaro
Revision: 429434
archrelease: copy trunk to extra-x86_64
Added:
assimp/repos/extra-x86_64/PKGBUILD
(from rev 429433, assimp/trunk/PKGBUILD)
Deleted:
assimp/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 33 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 11:48:05 UTC (rev 429433)
+++ PKGBUILD 2021-11-29 11:48:16 UTC (rev 429434)
@@ -1,37 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: jepaan <jepaan at hotmail dot com>
-
-pkgname=assimp
-pkgver=5.1.1
-pkgrel=1
-pkgdesc="Library to import various well-known 3D model formats in an uniform manner"
-arch=('x86_64')
-license=('BSD')
-depends=('zlib' 'gcc-libs')
-makedepends=('cmake' 'ninja')
-url='https://assimp.org/'
-source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz")
-sha512sums=('535dec60c09213e388edc553e18b97679f8ed649546ae13bdbfe66cf02916b79ad70eab42304b64b53bfbf40a26d998a27d93c65afda0d5fa39b6fb42dad8a2f')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- cmake . \
- -Bbuild \
- -GNinja \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DASSIMP_BUILD_SAMPLES=OFF
- ninja -C build
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- DESTDIR="$pkgdir" ninja -C build install
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
- # Remove this in release > 5.0.1
- # https://bugs.archlinux.org/task/67735
- sed -i "s|includedir=.*|includedir=/usr/include/assimp|" "${pkgdir}"/usr/lib/pkgconfig/assimp.pc
-}
Copied: assimp/repos/extra-x86_64/PKGBUILD (from rev 429433, assimp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 11:48:16 UTC (rev 429434)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: jepaan <jepaan at hotmail dot com>
+
+pkgname=assimp
+pkgver=5.1.2
+pkgrel=1
+pkgdesc="Library to import various well-known 3D model formats in an uniform manner"
+arch=('x86_64')
+license=('BSD')
+depends=('zlib' 'gcc-libs')
+makedepends=('cmake' 'ninja')
+url='https://assimp.org/'
+source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz")
+sha512sums=('414c2c4581a9c4e09b7aefed377c49e62b11d2de7a7dc976245fb2fb91c81012a8611d16f6bebb8315215b4be42d2a3f8817ab6e369ddd505e0ebf2ba3cb3f10')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ cmake \
+ -Bbuild \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DASSIMP_BUILD_SAMPLES=OFF
+ ninja -C build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list