# Contributor: Yuriy Chumak # Maintainer: Yuriy Chumak pkgname=ol pkgver=2.6 pkgrel=0 pkgdesc="Purely functional dialect of Lisp" url="https://yuriy-chumak.github.io/ol/" arch="all" license="LGPL-3.0+ OR MIT" depends="" makedepends="vim" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/yuriy-chumak/$pkgname/archive/$pkgver.tar.gz require-explicit-cdefs.patch " _HAS_32CDEFS=0 _HAS_64CDEFS=0 case "$CARCH" in armel | armhf | armv7) _HAS_32CDEFS=1 ;; x86 | pmmx) _HAS_32CDEFS=1 ;; x86_64 | mips64* | aarch64* | ppc64*) _HAS_64CDEFS=1 ;; mips* | ppc | s390*) _HAS_32CDEFS=1 ;; esac build() { make HAS_32CDEFS="${_HAS_32CDEFS}" HAS_64CDEFS="${_HAS_64CDEFS}" } check() { make HAS_32CDEFS="${_HAS_32CDEFS}" HAS_64CDEFS="${_HAS_64CDEFS}" check } package() { make HAS_32CDEFS="${_HAS_32CDEFS}" HAS_64CDEFS="${_HAS_64CDEFS}" DESTDIR="$pkgdir" install } sha512sums="22e61379d97e52e8f780213780d7f29a93e4846d158629e554f404a1c39e86daef9ce2a1b27d608c40c40850eaff4c2715bdfcb66af6b81cd906f0bcd43bf450 ol-2.6.tar.gz 3b8d5b984b6cb483a51389905648119c3d1de568d13ded6f5606163f8538f9426078357f8494a752af4ee80809fce6fe587f308be9ab010fe19d6eded688ed5a require-explicit-cdefs.patch"