blob: 79c9ae2a78553ae61f6b0338d1f1f73c3d5c8064 (
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
|
# Maintainer: dobragab <dobragab@gmail.com>
pkgname=('ccsh-shell-git')
pkgver=r127.44f6458
pkgrel=1
pkgdesc='C++ shell'
arch=('any')
url='https://github.com/cpp-ftw/ccsh'
license=('GPL3')
depends=('ccsh-git' 'cling-git')
makedepends=('git' 'cmake' 'make')
source=("git+https://github.com/cpp-ftw/ccsh.git")
md5sums=(SKIP)
pkgver() {
cd "ccsh"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "ccsh"
cmake . -DWITH_LIB=OFF -DWITH_TEST=OFF -DWITH_COMPILER=OFF -DWITH_SAMPLE=OFF -DWITH_CLING=ON
make
install -Dm755 "$srcdir/ccsh/ccsh" "$pkgdir/usr/bin/ccsh"
install -Dm644 "$srcdir/ccsh/ui/ccshrc.hpp" "$pkgdir/etc/ccsh/ccshrc.hpp"
}
|