[arch-commits] Commit in (6 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Sun Aug 25 20:28:07 UTC 2013


    Date: Sunday, August 25, 2013 @ 22:28:07
  Author: arodseth
Revision: 96339

Moving nimrod from AUR. 12 votes. Promising language and compiler.

Added:
  nimrod/
  nimrod/repos/
  nimrod/repos/community-i686/
  nimrod/repos/community-x86_64/
  nimrod/trunk/
  nimrod/trunk/PKGBUILD

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

Added: nimrod/trunk/PKGBUILD
===================================================================
--- nimrod/trunk/PKGBUILD	                        (rev 0)
+++ nimrod/trunk/PKGBUILD	2013-08-25 20:28:07 UTC (rev 96339)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Dominik Picheta <morfeusz8 at gmail.com>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=nimrod
+pkgver=0.9.2
+pkgrel=3
+pkgdesc='Statically typed, imperative programming language, that supports procedural, functional, object oriented and generic programming styles while remaining simple and efficient'
+arch=('x86_64' 'i686')
+url='http://nimrod-code.org/'
+license=('MIT')
+depends=('readline')
+makedepends=('setconf')
+source=("http://nimrod-code.org/download/${pkgname}_$pkgver.zip")
+sha256sums=('4903ff46b90caa61194551f66fdff291b1ecba8bb4eec1611373cd34ecaf7090')
+
+prepare() {
+  cd "$pkgname"
+
+  setconf install.sh bindir "$pkgdir/usr/bin"
+  setconf install.sh configdir "$pkgdir/etc"
+  setconf install.sh libdir "$pkgdir/usr/lib/$pkgname"
+  setconf install.sh docdir "$pkgdir/usr/share/doc/$pkgname"
+  setconf install.sh datadir "$pkgdir/usr/share/$pkgname"
+}
+
+build() {
+  cd "$pkgname"
+
+  sh build.sh
+  ./bin/nimrod c -d:release koch
+  PATH="$PATH":./bin/nimrod ./koch boot -d:release -d:useGnuReadline
+}
+
+package() {
+  cd "$pkgname"
+
+  install -d "$pkgdir/usr/bin"
+  install -d "$pkgdir/etc"
+  install -d "$pkgdir/usr/lib/$pkgname"
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  install -d "$pkgdir/usr/share/$pkgname"
+  sh install.sh /usr/bin
+  install -Dm644 copying.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


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



More information about the arch-commits mailing list