[arch-commits] Commit in vtr/repos (community-x86_64 community-x86_64/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Mar 31 19:07:09 UTC 2020
Date: Tuesday, March 31, 2020 @ 19:07:08
Author: ffy00
Revision: 608271
archrelease: copy trunk to community-x86_64
Added:
vtr/repos/community-x86_64/
vtr/repos/community-x86_64/PKGBUILD
(from rev 608270, vtr/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: vtr/repos/community-x86_64/PKGBUILD (from rev 608270, vtr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-03-31 19:07:08 UTC (rev 608271)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=vtr
+_pkgname=vtr-verilog-to-routing
+pkgver=8.0.0
+pkgrel=1
+pkgdesc='Verilog to Routing -- Open Source CAD Flow for FPGA Research'
+arch=(x86_64)
+url='https://verilogtorouting.org'
+license=('MIT')
+depends=('ctags' 'cairo' 'intel-tbb')
+makedepends=('cmake')
+source=("$pkgname-$pkgver::https://github.com/verilog-to-routing/vtr-verilog-to-routing/archive/v$pkgver.tar.gz")
+sha512sums=('9fc75f8451185fef65b01d37bafcc8c13e04632cdb66d0d49df7f942b40b8178a1e4610b83b88eb32b48077eeda4bd0061b8bb390e61573a1d85153fdc7ba1de')
+
+build() {
+ mkdir $_pkgname-$pkgver/build
+ cd $_pkgname-$pkgver/build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver/build
+
+ make DESTDIR="$pkgdir" install
+
+ rm "$pkgdir"/usr/bin/*.a "$pkgdir"/usr/bin/test_* "$pkgdir"/usr/bin/*_test
+
+ install -Dm 644 ../LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list