blob: 093db62529543e6e29cf2a1d2e7ae0af820d9eb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Zach <mikezackles @ gmail . com>
# Contributor: Tomáš Mládek <tmladek @ inventati doth ork>
# Contributor: shuall <shualloret @ gmail . com>
pkgname=chaiscript-git
pkgver=6.0.0.r101.g0c32c50
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=("$pkgname::git+https://github.com/Chaiscript/Chaiscript.git")
sha256sums=('SKIP')
provides=('chaiscript')
conflicts=('chaiscript')
install=${pkgname}.install
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
msg 'Building...'
cmake -DCMAKE_INSTALL_PREFIX=/usr ./
make
}
package() {
cd "$pkgname"
msg 'Installing...'
make DESTDIR="$pkgdir" install
install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|