summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed487c3e273dc88968bfbc35fe0eb25a81ecb788 (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: Yuriy Chumak <yuriy.chumak at mail dot com>

pkgname='ol'
pkgver=2.6
pkgrel=1
pkgdesc='Otus Lisp, a purely functional dialect of Scheme'
arch=('i486' 'pentium4' 'i686' 'x86_64')
url='https://github.com/yuriy-chumak/ol'
license=('LGPL3' 'custom:MIT')
depends=('glibc')
makedepends=('vim')
source=("$pkgname-$pkgver.tar.gz::https://github.com/yuriy-chumak/ol/archive/$pkgver.tar.gz")
sha512sums=('SKIP')

prepare() {
  cd ${pkgname}-$pkgver
}

build() {
  cd ${pkgname}-$pkgver
  make
}

check() {
  cd ${pkgname}-$pkgver
  make check
}

package() {
  cd ${pkgname}-$pkgver
  make DESTDIR="${pkgdir}" install
  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}