summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlad Wenter2018-02-08 21:56:29 +0100
committerAlad Wenter2018-02-08 21:56:29 +0100
commit750baab1c44f574c487568a2be33cbbf013f5989 (patch)
tree415dbd2d9729ee50c3fda88fafac28c4ecc3ad95 /PKGBUILD
parent38e1286b82762262fcd76864f1f3ce3026b5fefc (diff)
downloadaur-750baab1c44f574c487568a2be33cbbf013f5989.tar.gz
chaiscript: update to 6.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 11 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cf72373c857..5d650cf468c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,28 @@
-# Maintainer: Tomáš Mládek <tmladek @ inventati doth ork>
+# Maintainer: Alad Wenter <alad@mailbox.org>
+# Contributor: Tomáš Mládek <tmladek @ inventati doth ork>
# Contributor: shuall <shualloret @ gmail . com>
pkgname=chaiscript
-pkgver=5.7.0
+pkgver=6.0.0
pkgrel=1
-pkgdesc="Embedded scripting language designed from the ground up to directly target C++"
-arch=('any')
-depends=('ncurses')
-makedepends=('cmake')
+pkgdesc="embedded scripting language which targets C++"
+arch=('x86_64')
url="http://www.chaiscript.com"
license=('BSD')
-source=(https://github.com/Chaiscript/Chaiscript/archive/v${pkgver}.tar.gz)
-sha256sums=('3f261ad74c4f9f9a6877afba266c35050c9c2d56ddeeb25cdeb2734e5fc51d99')
-provides=('chaiscript')
-install=${pkgname}.install
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Chaiscript/Chaiscript/archive/v$pkgver.tar.gz")
+sha256sums=('ec4b51e30afbc5133675662882c59417a36aa607556ede7ca4736fab2b28c026')
build() {
- cd ChaiScript-${pkgver}
+ cd "ChaiScript-$pkgver"
- msg 'Building...'
cmake -DCMAKE_INSTALL_PREFIX=/usr ./
make
}
package() {
- cd ChaiScript-${pkgver}
+ cd "ChaiScript-$pkgver"
- msg 'Installing...'
make DESTDIR="$pkgdir" install
- install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}