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

Anatol Pomozov anatolik at archlinux.org
Sun Dec 1 18:25:00 UTC 2019


    Date: Sunday, December 1, 2019 @ 18:24:58
  Author: anatolik
Revision: 534643

Move mruby to [community]

Added:
  mruby/
  mruby/repos/
  mruby/trunk/
  mruby/trunk/PKGBUILD

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

Added: mruby/trunk/PKGBUILD
===================================================================
--- mruby/trunk/PKGBUILD	                        (rev 0)
+++ mruby/trunk/PKGBUILD	2019-12-01 18:24:58 UTC (rev 534643)
@@ -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"
+}


Property changes on: mruby/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list