blob: 14b2299971b6f322c67d3a9082bda60b71379493 (
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
|
# Maintainer: Radek Podgorny <radek@podgorny.cz>
pkgname='planck-git'
provides=('planck')
conflicts=('planck')
pkgver=r1579.47b9eec
pkgrel=1
pkgdesc="A stand-alone ClojureScript REPL"
arch=('x86_64')
url="http://planck-repl.org/"
depends=('webkitgtk' 'libzip' 'zlib')
makedepends=('git' 'java-environment' 'cmake' 'maven' 'leiningen')
license=('EPL-1.0')
source=(
"$pkgname::git+https://github.com/mfikes/planck"
)
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
script/build
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "$srcdir/$pkgname/planck-c/build/planck" "$pkgdir/usr/bin/planck"
install -Dm755 "$srcdir/$pkgname/planck-sh/plk" "$pkgdir/usr/bin/plk"
}
|