Date: Thursday, August 9, 2018 @ 08:08:35 Author: anthraxx Revision: 370492
archrelease: copy trunk to community-x86_64 Added: owl-lisp/repos/community-x86_64/PKGBUILD (from rev 370491, owl-lisp/trunk/PKGBUILD) Deleted: owl-lisp/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 71 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-09 08:08:28 UTC (rev 370491) +++ PKGBUILD 2018-08-09 08:08:35 UTC (rev 370492) @@ -1,33 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=owl-lisp -pkgver=0.1.16 -pkgrel=1 -pkgdesc='Simple purely functional lisp' -url='https://github.com/aoh/owl-lisp' -arch=('x86_64') -license=('MIT') -depends=('glibc') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aoh/owl-lisp/archive/v${pkgver}.tar.gz) -sha256sums=('4ad5939a6822076c25975da4971c730a077d3e04a077f36923b40087cb25d0ab') -sha512sums=('1716bde1f9b42c5aaccc99b657e10c0625afbad96517e60e9a79ea1eef9dd77097179ffee389753a664a1bd6049fb05c1700743e4c138d10d33c2cb3c0de06d1') - -prepare() { - cd owl-${pkgver} - sed -ri 's|( \$\(CFLAGS\))|\1 $(LDFLAGS)|g' Makefile -} - -build() { - cd owl-${pkgver} - make -} - -package() { - cd owl-${pkgver} - make DESTDIR="${pkgdir}" install - install -Dm 644 fasl/* -t "${pkgdir}/var/lib/${pkgname}/fasl" - install -Dm 644 LICENCE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: owl-lisp/repos/community-x86_64/PKGBUILD (from rev 370491, owl-lisp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-09 08:08:35 UTC (rev 370492) @@ -0,0 +1,38 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=owl-lisp +pkgver=0.1.17 +pkgrel=1 +pkgdesc='Simple purely functional lisp' +url='https://gitlab.com/owl-lisp/owl.git' +arch=('x86_64') +license=('MIT') +depends=('glibc') +makedepends=('pandoc') +source=(${pkgname}-${pkgver}.tar.gz::https://gitlab.com/owl-lisp/owl/-/archive/v${pkgver}/owl-v${pkgver}.tar.gz) +sha256sums=('02128f0ab7e5a05fec958f687cb0edac18a077fb0c339807d9660d35e18bf59a') +sha512sums=('78e845027d388b963bf320b603b204632a1771235a6a054f605e63f6dc7ac222c7bd42115211a32b23439220957ef1390f83aec86f836e1d6c32d62193fa819c') + +prepare() { + cd owl-v${pkgver} + # 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() { + cd owl-v${pkgver} + make all manual.md +} + +package() { + cd owl-v${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 fasl/* -t "${pkgdir}/var/lib/${pkgname}/fasl" + 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: