Package Details: metashell 3.0.0-1

Git Clone URL: https://aur.archlinux.org/metashell.git (read-only, click to copy)
Package Base: metashell
Description: A C++ metaprogramming shell.
Upstream URL: https://github.com/metashell/metashell
Licenses: GPL
Submitter: hauzer
Maintainer: hauzer
Last Packager: hauzer
Votes: 3
Popularity: 0.041214
First Submitted: 2017-11-12 21:12
Last Updated: 2017-11-12 21:12

Latest Comments

ccorn commented on 2020-06-29 12:39

Version and dependencies update, addition of check():

diff --git a/PKGBUILD b/PKGBUILD
index 4a312d1..1c5fb70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: hauzer <hauzer.nv@gmail.com>
 pkgname=metashell
-pkgver=3.0.0
+pkgver=4.0.0
 pkgrel=1
 epoch=
 pkgdesc='A C++ metaprogramming shell.'
@@ -8,8 +8,8 @@ arch=('i686' 'x86_64')
 url="https://github.com/${pkgname}/${pkgname}"
 license=('GPL')
 groups=()
-depends=('readline' 'termcap')
-makedepends=('cmake' 'clang')
+depends=('readline' 'zlib')
+makedepends=('cmake' 'clang' 'python')
 checkdepends=()
 optdepends=()
 provides=()
@@ -19,9 +19,9 @@ backup=()
 options=()
 install=
 changelog=
-source=("https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
 noextract=()
-md5sums=('5b256847962492f366f1c71553533bb8')
+sha256sums=('02a88204fe36428cc6c74453059e8c399759d4306e8156d0920aefa4c07efc64')
 validpgpkeys=()

 prepare() {
@@ -41,6 +41,12 @@ build() {
    make
 }

+check() {
+    cd "$pkgname-$pkgver/bin"
+    _jobs=$(grep -oe '-j[0-9]*' <<<"$MAKEFLAGS")        # zero or more words
+    ctest -V $_jobs
+}
+
 package() {
    cd "$pkgname-$pkgver/bin"
    make DESTDIR="$pkgdir/" install

sikmir commented on 2018-09-06 20:04

../aur-metashell/src/metashell-3.0.0/3rd/templight/llvm/include/llvm/IR/ValueMap.h:102:31: error: cannot convert ”const std::unique_ptr<llvm::DenseMap<const llvm::Metadata*, llvm::TrackingMDRef> >” to ”bool” in return
   bool hasMD() const { return MDMap; }