diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -1,17 +1,18 @@ # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> pkgname=owl-lisp-git -pkgver=0.1.13+16+gb0b76d1 +pkgver=0.1.13+569+g64730ee pkgrel=1 pkgdesc='Simple purely functional lisp' -url='https://github.com/aoh/owl-lisp' -arch=('i686' 'x86_64') +url='https://gitlab.com/owl-lisp/owl.git' +arch=('x86_64') license=('MIT') depends=('glibc') -makedepends=('git') +makedepends=('git' 'pandoc') provides=('owl-lisp') conflicts=('owl-lisp') -source=(${pkgname}::git+https://github.com/aoh/owl-lisp) +options=('!makeflags') +source=(${pkgname}::git+https://gitlab.com/owl-lisp/owl) sha512sums=('SKIP') pkgver() { @@ -21,7 +22,11 @@ pkgver() { prepare() { cd ${pkgname} - sed -ri 's|( \$\(CFLAGS\))|\1 $(LDFLAGS)|g' Makefile + # support distro CFLAGS and CPPFLAGS + sed -e'/export CFLAGS/d' -e '/CFLAGS =/d' \ + -e 's|$(CFLAGS)|$(CFLAGS) $(CPPFLAGS)|g' -i Makefile + # make build reproducible, we compress ourselves + sed -e 's|gzip -9|@echo|g' -e 's|\.gz||g' -i Makefile } build() { @@ -33,8 +38,8 @@ package() { cd ${pkgname} make DESTDIR="${pkgdir}" install install -Dm 644 fasl/* -t "${pkgdir}/var/lib/${pkgname}/fasl" - install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README" + install -Dm 644 LICENCE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm 644 README.md manual.md -t "${pkgdir}/usr/share/doc/${pkgname}" } # vim: ts=2 sw=2 et: |