[arch-commits] Commit in prjxray-db/repos (community-x86_64 community-x86_64/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat Mar 28 23:05:07 UTC 2020


    Date: Saturday, March 28, 2020 @ 23:05:06
  Author: ffy00
Revision: 605646

archrelease: copy trunk to community-x86_64

Added:
  prjxray-db/repos/community-x86_64/
  prjxray-db/repos/community-x86_64/PKGBUILD
    (from rev 605645, prjxray-db/trunk/PKGBUILD)

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

Copied: prjxray-db/repos/community-x86_64/PKGBUILD (from rev 605645, prjxray-db/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-03-28 23:05:06 UTC (rev 605646)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_prj=xray
+_targets='artix7 kintex7 zynq7'
+_commit=1a4ee7cb0d93eda01db7e2b2b6950407d58ed2fd
+pkgname=prj$_prj-db
+pkgver=r225.1a4ee7c
+pkgrel=1
+pkgdesc='Project X-Ray (Xilinx 7-series bit-stream format) database'
+arch=('x86_64')
+url="https://github.com/SymbiFlow/$pkgname"
+license=('custom:CC0')
+makedepends=('git')
+source=("git+$url.git#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+
+  printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+  cd $pkgname
+
+  install -dm 755 "$pkgdir"/usr/share/$_prj/database
+  cp -r --no-preserve=ownership $_targets "$pkgdir"/usr/share/$_prj/database/
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list