diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 22 insertions, 6 deletions
@@ -1,12 +1,13 @@ pkgbase = npt - pkgdesc = ANSI Common Lisp implementation + pkgdesc = ANSI Common Lisp Implementation pkgver = 1.1.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/nptcl/npt arch = x86_64 license = Unlicense makedepends = git depends = glibc + depends = readline source = npt::git+https://github.com/nptcl/npt#commit=55cff1db7e6f12f7e87e8ab26393792d33734d62 b2sums = SKIP @@ -2,12 +2,12 @@ pkgname=npt pkgver=1.1.1 -pkgrel=1 -pkgdesc='ANSI Common Lisp implementation' +pkgrel=2 +pkgdesc='ANSI Common Lisp Implementation' arch=('x86_64') url='https://github.com/nptcl/npt' license=('Unlicense') -depends=('glibc') +depends=('glibc' 'readline') makedepends=('git') _commit='55cff1db7e6f12f7e87e8ab26393792d33734d62' source=("$pkgname::git+$url#commit=$_commit") @@ -19,12 +19,23 @@ pkgver() { 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 + ./configure \ + --prefix=/usr \ + --with-readline make } @@ -32,5 +43,9 @@ build() { package() { cd "$pkgname" + # binary make install DESTDIR="$pkgdir" + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*.html } |