Date: Thursday, April 28, 2022 @ 18:41:11 Author: arojas Revision: 1191694
archrelease: copy trunk to community-x86_64 Added: mruby/repos/community-x86_64/PKGBUILD (from rev 1191693, mruby/trunk/PKGBUILD) Deleted: mruby/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 69 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-28 18:40:56 UTC (rev 1191693) +++ PKGBUILD 2022-04-28 18:41:11 UTC (rev 1191694) @@ -1,34 +0,0 @@ -# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> - -pkgname=mruby -pkgver=3.0.0 -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=('4b393f26a473ba8106fc193c07b514dc395e1264') - -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" -} Copied: mruby/repos/community-x86_64/PKGBUILD (from rev 1191693, mruby/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-28 18:41:11 UTC (rev 1191694) @@ -0,0 +1,35 @@ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +pkgname=mruby +pkgver=3.0.0 +pkgrel=2 +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=('4b393f26a473ba8106fc193c07b514dc395e1264') + +build() { + cd mruby-$pkgver + CFLAGS+=" -ffat-lto-objects" \ + 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" +}