summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e93048d45628975f807c8541e86c8cf7526277ba (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
# Maintainer: Erkin Batu AltunbaĊŸ <erkin@sdf.org>
pkgname=eisl
pkgver=1.2
pkgrel=1
pkgdesc="Easy-ISLisp is an interpreter and compiler compatible with ISLisp standard."
arch=('x86_64' 'i686')
url="https://github.com/sasagawa888/eisl"
license=("custom")
depends=("sh" "gcc" "make")

source=("https://github.com/sasagawa888/eisl/archive/v${pkgver}.tar.gz")
sha256sums=('ab7df7195b4e234196d5427ea5e0f1a3e8b44430b999fce66395f9350ddf8f9c')

package()
{
    cd "$pkgname-$pkgver"
    make eisl

    install -d "$pkgdir/usr/share/$pkgname"
    cp -ra --no-preserve=ownership bench example test "$pkgdir/usr/share/$pkgname"

    install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"

    install -Dm755 eisl "$pkgdir/usr/bin/eisl"
}