blob: 785c93b4b55e5067e4bb064fbc5d669f0667aa85 (
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
|
# Maintainer: paulsnar <paulsnar@paulsnar.lv>
# Contributor: Nils Grunwald <nils [@] grunwald [dot] fr>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
_pkgname=janet
pkgname=janet-lang-bin
pkgver=1.36.0
pkgrel=1
pkgdesc='A dynamic Lisp dialect and bytecode vm'
arch=('x86_64')
url='https://janet-lang.org/'
license=('MIT')
provides=('janet')
conflicts=('janet-lang' 'janet-lang-git')
source=("https://github.com/janet-lang/janet/releases/download/v${pkgver}/${_pkgname}-v${pkgver}-linux-x64.tar.gz")
sha256sums=('8a97b4b20e16d482e66fe64a6a6f9762a0632edc36888d162a5df10b26bfabf5')
package() {
install -Dm755 "$srcdir"/${_pkgname}-v${pkgver}-linux/bin/janet "$pkgdir"/usr/bin/janet
install -Dm644 "$srcdir"/${_pkgname}-v${pkgver}-linux/include/janet.h "$pkgdir"/usr/include/janet.h
install -dm777 "$pkgdir"/usr/lib/janet
install -dm777 "$pkgdir"/usr/lib/janet/.cache
install -Dm644 "$srcdir"/${_pkgname}-v${pkgver}-linux/man/man1/janet.1 "$pkgdir"/usr/share/man/man1/janet.1
gzip "$pkgdir"/usr/share/man/man1/janet.1
}
|