summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTomáš Mládek2015-06-15 10:12:34 +0200
committerTomáš Mládek2015-06-15 10:12:34 +0200
commit38e1286b82762262fcd76864f1f3ce3026b5fefc (patch)
treeda13923ec4688291862d2c24abf41ca7df308004 /PKGBUILD
downloadaur-38e1286b82762262fcd76864f1f3ce3026b5fefc.tar.gz
Initial commit. (AUR migration)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cf72373c857
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Tomáš Mládek <tmladek @ inventati doth ork>
+# Contributor: shuall <shualloret @ gmail . com>
+
+pkgname=chaiscript
+pkgver=5.7.0
+pkgrel=1
+pkgdesc="Embedded scripting language designed from the ground up to directly target C++"
+arch=('any')
+depends=('ncurses')
+makedepends=('cmake')
+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
+
+build() {
+ cd ChaiScript-${pkgver}
+
+ msg 'Building...'
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ./
+ make
+}
+
+package() {
+ cd ChaiScript-${pkgver}
+
+ msg 'Installing...'
+ make DESTDIR="$pkgdir" install
+ install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}