[arch-commits] Commit in owl-lisp/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun May 12 18:31:05 UTC 2019


    Date: Sunday, May 12, 2019 @ 18:31:05
  Author: ffy00
Revision: 467055

upgpkg: owl-lisp 0.1.19-1

Modified:
  owl-lisp/trunk/PKGBUILD

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-12 17:57:30 UTC (rev 467054)
+++ PKGBUILD	2019-05-12 18:31:05 UTC (rev 467055)
@@ -1,7 +1,7 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=owl-lisp
-pkgver=0.1.17
+pkgver=0.1.19
 pkgrel=1
 pkgdesc='Simple purely functional lisp'
 url='https://gitlab.com/owl-lisp/owl.git'
@@ -9,30 +9,46 @@
 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')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/owl-lisp/owl/-/archive/v$pkgver/owl-v$pkgver.tar.gz")
+sha256sums=('d02b49c3bba48aec8e83040d39a5d4fe7b91c284aaff7bad0f2efd0b97cf2fee')
+sha512sums=('0cb579f94d4fe1bf4c0923d2d58bb03249d8d9444c3452f261a7485ac0d15c08dbfba2388514b8b8fa93409e49ed346b192760be6bd9dab19f1def4e322be1c7')
+sha256sums=('d02b49c3bba48aec8e83040d39a5d4fe7b91c284aaff7bad0f2efd0b97cf2fee')
+sha512sums=('0cb579f94d4fe1bf4c0923d2d58bb03249d8d9444c3452f261a7485ac0d15c08dbfba2388514b8b8fa93409e49ed346b192760be6bd9dab19f1def4e322be1c7')
 
 prepare() {
-  cd owl-v${pkgver}
+  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
+  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
+
+  # fix missing Makefile entry
+  sed 's|manual.md:|manual.md: bin/ol|' -i Makefile
 }
 
 build() {
-  cd owl-v${pkgver}
-  make all manual.md
+  cd owl-v$pkgver
+
+  make owl documentation
 }
 
+check() {
+  cd owl-v$pkgver
+
+  make test fasltest
+}
+
 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}"
+  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:



More information about the arch-commits mailing list