[arch-commits] Commit in magnum/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Aug 6 12:26:24 UTC 2020


    Date: Thursday, August 6, 2020 @ 12:26:23
  Author: arodseth
Revision: 670906

upgpkg: magnum 2020.06-1

Modified:
  magnum/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-06 12:02:42 UTC (rev 670905)
+++ PKGBUILD	2020-08-06 12:26:23 UTC (rev 670906)
@@ -1,24 +1,23 @@
-# Maintainer:
-# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: Mosra <mosra at centrum.cz>
 
 pkgname=magnum
-pkgver=2019.10
+pkgver=2020.06
 pkgrel=1
 pkgdesc='C++11/C++14 graphics middleware for games and data visualization'
 arch=(x86_64)
 url='https://magnum.graphics'
 license=(MIT)
-depends=(corrade openal glfw sdl2 vulkan-icd-loader)
-makedepends=(cmake)
+depends=('corrade>=2020.06' glfw openal sdl2 vulkan-icd-loader)
+makedepends=(cmake git)
 optdepends=('magnum-plugins: import and export features')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/mosra/magnum/archive/v$pkgver.tar.gz")
-sha256sums=('375e8e03b1848b166387baee4ac4082c75a97fd234f01cd9e5187e0161968584')
+source=("git+https://github.com/mosra/magnum#commit=fac6f4da261930c7035bf51f66091e350905720b") # tag: v2020.06
+sha256sums=('SKIP')
 
 build() {
   mkdir -p build
   cd build
-  cmake ../$pkgname-$pkgver \
+  cmake ../$pkgname \
     -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wfatal-errors" \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DWITH_AL_INFO=ON \
@@ -48,5 +47,5 @@
 
 package() {
   make DESTDIR="$pkgdir" -C build install
-  install -Dm644 $pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+  install -Dm644 $pkgname/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
 }


More information about the arch-commits mailing list