[arch-commits] Commit in nimble/repos (2 files)
Alexander Rødseth
arodseth at archlinux.org
Fri Nov 14 09:35:27 UTC 2014
Date: Friday, November 14, 2014 @ 10:35:26
Author: arodseth
Revision: 122549
archrelease: copy trunk to community-x86_64, community-i686
Added:
nimble/repos/community-i686/PKGBUILD
(from rev 122548, nimble/trunk/PKGBUILD)
nimble/repos/community-x86_64/PKGBUILD
(from rev 122548, nimble/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: nimble/repos/community-i686/PKGBUILD (from rev 122548, nimble/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-11-14 09:35:26 UTC (rev 122549)
@@ -0,0 +1,33 @@
+# Maintainer: Alexander F Rødseth <rodseth at gmail.com>
+
+pkgname=nimble
+pkgver=186
+pkgrel=1
+pkgdesc='Package manager for the Nim programming language'
+arch=('x86_64' 'i686')
+url='https://github.com/nimrod-code/nimble'
+license=('BSD')
+makedepends=('nim' 'git')
+source=("$pkgname::git+https://github.com/nimrod-code/nimble.git#commit=b208b66749")
+md5sums=('SKIP')
+
+pkgver () {
+ cd "$pkgname"
+
+ git rev-list --count master
+}
+
+build() {
+ cd "$pkgname/src/"
+
+ nim c -d:release nimble.nim
+}
+
+package() {
+ cd "$pkgname"
+
+ install -Dm755 "src/nimble" "$pkgdir/usr/bin/nimble"
+ install -Dm644 "license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: nimble/repos/community-x86_64/PKGBUILD (from rev 122548, nimble/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-11-14 09:35:26 UTC (rev 122549)
@@ -0,0 +1,33 @@
+# Maintainer: Alexander F Rødseth <rodseth at gmail.com>
+
+pkgname=nimble
+pkgver=186
+pkgrel=1
+pkgdesc='Package manager for the Nim programming language'
+arch=('x86_64' 'i686')
+url='https://github.com/nimrod-code/nimble'
+license=('BSD')
+makedepends=('nim' 'git')
+source=("$pkgname::git+https://github.com/nimrod-code/nimble.git#commit=b208b66749")
+md5sums=('SKIP')
+
+pkgver () {
+ cd "$pkgname"
+
+ git rev-list --count master
+}
+
+build() {
+ cd "$pkgname/src/"
+
+ nim c -d:release nimble.nim
+}
+
+package() {
+ cd "$pkgname"
+
+ install -Dm755 "src/nimble" "$pkgdir/usr/bin/nimble"
+ install -Dm644 "license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list