[arch-commits] Commit in firrtl/repos (3 files)

Felix Yan felixonmars at archlinux.org
Mon Jan 21 19:37:17 UTC 2019


    Date: Monday, January 21, 2019 @ 19:37:16
  Author: felixonmars
Revision: 426724

archrelease: copy trunk to community-any

Added:
  firrtl/repos/community-any/
  firrtl/repos/community-any/PKGBUILD
    (from rev 426723, firrtl/trunk/PKGBUILD)
  firrtl/repos/community-any/firrtl.sh
    (from rev 426723, firrtl/trunk/firrtl.sh)

-----------+
 PKGBUILD  |   32 ++++++++++++++++++++++++++++++++
 firrtl.sh |    3 +++
 2 files changed, 35 insertions(+)

Copied: firrtl/repos/community-any/PKGBUILD (from rev 426723, firrtl/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-01-21 19:37:16 UTC (rev 426724)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sebastian Bøe <sebastianbooe at gmail dot com>
+
+pkgname=firrtl
+pkgver=1.1.6
+pkgrel=1
+pkgdesc='Flexible Intermediate Representation for RTL'
+arch=('any')
+url='https://github.com/freechipsproject/firrtl'
+license=('BSD')
+provides=('firrtl')
+conflicts=('firrtl')
+depends=('java-environment' 'bash')
+makedepends=('sbt' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/freechipsproject/firrtl/archive/v$pkgver.tar.gz"
+        'firrtl.sh')
+sha512sums=('2d831c658504051cf141901489783cbec2f6c1a8823de6c4d0a3626c6a44abd13e1575b7ea07b06f800892564625d125f422b1032f532b881913a2285718f15c'
+            '81a74fab55e360a3b5272a22d5c2dc6005dbf6e865bc2f13b94f5606456807e7f7239e47d17d05e194106f925599f02445accc83c39e92f22f0017002c902c1c')
+
+build(){
+  cd firrtl-$pkgver
+  sbt assembly
+}
+
+package() {
+  install -Dm755 firrtl.sh "$pkgdir"/usr/bin/firrtl
+
+  cd firrtl-$pkgver
+  install -Dm755 utils/bin/firrtl.jar "$pkgdir"/usr/share/scala/$pkgname/firrtl.jar
+
+  install -Dm644 src/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}

Copied: firrtl/repos/community-any/firrtl.sh (from rev 426723, firrtl/trunk/firrtl.sh)
===================================================================
--- community-any/firrtl.sh	                        (rev 0)
+++ community-any/firrtl.sh	2019-01-21 19:37:16 UTC (rev 426724)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -cp /usr/share/scala/firrtl/firrtl.jar firrtl.Driver ${@:1}



More information about the arch-commits mailing list