blob: 21288565d0a75dfa08bee303ccc3b9051109b165 (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Konstantinos Foutzopoulos <mail@konfou.xyz>
_pkgname=anarki
pkgname=${_pkgname}-git
pkgver=3.1.r1352.gd0e4804
pkgrel=1
epoch=2
pkgdesc="Community-managed fork of the Arc dialect of Lisp. (GIT version)"
arch=('any')
url="https://github.com/arclanguage/anarki"
license=('MIT' 'PerlArtistic')
depends=('racket' 'bash' 'perl')
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+https://github.com/arclanguage/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd ${_pkgname}
git describe --tags| cut -c4- | sed 's+-+.r+' | tr - .
}
package() {
install -d "$pkgdir"/usr/{bin,share/licenses/$pkgname}
cp -R "${_pkgname}" "$pkgdir/usr/share/${_pkgname}"
rm -rf "$pkgdir"/usr/share/${_pkgname}/.git
ln -s "/usr/share/${_pkgname}/arc.sh" "$pkgdir/usr/bin/arc"
install -Dm755 "${_pkgname}"/copyright "$pkgdir"/usr/share/licenses/$pkgname/copyright
}
|