[arch-commits] Commit in vtr/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Tue Mar 31 19:06:35 UTC 2020


    Date: Tuesday, March 31, 2020 @ 19:06:34
  Author: ffy00
Revision: 608268

upgpkg: vtr 8.0.0-1

Added:
  vtr/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-31 19:06:34 UTC (rev 608268)
@@ -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