blob: 42054cb2bce15290e6001b8b2780218cee241ed5 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=npt
pkgver=1.1.1
pkgrel=2
pkgdesc='ANSI Common Lisp Implementation'
arch=('x86_64')
url='https://github.com/nptcl/npt'
license=('Unlicense')
depends=('glibc' 'readline')
makedepends=('git')
_commit='55cff1db7e6f12f7e87e8ab26393792d33734d62'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
prepare() {
cd "$pkgname"
# fix typo
sed \
-i Makefile.am \
-e 's/incldue/include/g'
}
build() {
cd "$pkgname"
./bootstrap.sh
./configure \
--prefix=/usr \
--with-readline
make
}
package() {
cd "$pkgname"
# binary
make install DESTDIR="$pkgdir"
# documentation
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*.html
}
|