[arch-commits] Commit in mruby/repos (community-x86_64 community-x86_64/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Sun Dec 1 18:33:03 UTC 2019


    Date: Sunday, December 1, 2019 @ 18:33:03
  Author: anatolik
Revision: 534644

archrelease: copy trunk to community-x86_64

Added:
  mruby/repos/community-x86_64/
  mruby/repos/community-x86_64/PKGBUILD
    (from rev 534643, mruby/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: mruby/repos/community-x86_64/PKGBUILD (from rev 534643, mruby/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-12-01 18:33:03 UTC (rev 534644)
@@ -0,0 +1,34 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=mruby
+pkgver=2.1.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)
+source=(mruby-$pkgver.zip::https://github.com/mruby/mruby/archive/$pkgver.zip)
+sha1sums=('723535bd1eb13a847d99b94cb16c630c72818c7a')
+
+build() {
+  cd mruby-$pkgver
+  make
+}
+
+check() {
+  cd mruby-$pkgver
+  make test
+}
+
+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"
+}



More information about the arch-commits mailing list