Skip to content
Snippets Groups Projects
Commit f299f1ca authored by Felix Yan's avatar Felix Yan
Browse files

addpkg: 1.1.6-1

parents
No related branches found
Tags 1.1.6-1
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Felix Yan <felixonmars@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
}
#!/bin/sh
java -cp /usr/share/scala/firrtl/firrtl.jar firrtl.Driver ${@:1}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment