Date: Friday, August 7, 2020 @ 17:11:51 Author: anatolik Revision: 671545
archrelease: copy trunk to community-testing-x86_64 Added: mruby/repos/community-testing-x86_64/ mruby/repos/community-testing-x86_64/PKGBUILD (from rev 671544, mruby/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: mruby/repos/community-testing-x86_64/PKGBUILD (from rev 671544, mruby/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-08-07 17:11:51 UTC (rev 671545) @@ -0,0 +1,34 @@ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +pkgname=mruby +pkgver=2.1.2 +pkgrel=1 +pkgdesc='An interpreter for the Ruby programming language with the intention of being lightweight and easily embeddable' +arch=(i686 x86_64) +url='https://github.com/mruby/mruby' +license=(MIT) +depends=(readline) +makedepends=(bison ruby ruby-rake) +source=(mruby-$pkgver.zip::https://github.com/mruby/mruby/archive/$pkgver.zip) +sha1sums=('3dc4b5ed859447f6e8432fc0c66e4e8a53e01503') + +build() { + cd mruby-$pkgver + make +} + +check() { + cd mruby-$pkgver + # make test disable due to https://github.com/mruby/mruby/issues/5026 +} + +package() { + cd mruby-$pkgver + + install -d "$pkgdir/usr/bin" "$pkgdir/usr/lib" "$pkgdir/usr/share/licenses/mruby" + cp build/host/bin/* "$pkgdir/usr/bin" + cp build/host/lib/*.a "$pkgdir/usr/lib" + cp -r include "$pkgdir/usr" + + cp LICENSE "$pkgdir/usr/share/licenses/mruby/LICENSE" +}