[arch-commits] Commit in prjtrellis-db/repos (2 files)
Filipe Laíns
ffy00 at archlinux.org
Sat Mar 28 22:34:40 UTC 2020
Date: Saturday, March 28, 2020 @ 22:34:39
Author: ffy00
Revision: 605612
archrelease: copy trunk to community-x86_64
Added:
prjtrellis-db/repos/community-x86_64/
prjtrellis-db/repos/community-x86_64/PKGBUILD
(from rev 605611, prjtrellis-db/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: prjtrellis-db/repos/community-x86_64/PKGBUILD (from rev 605611, prjtrellis-db/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-03-28 22:34:39 UTC (rev 605612)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pjr=prjtrellis
+_targets=ECP5
+_commit=717478b757a702bbc7e3e11a5fbecee2a64f7922
+pkgname=$_pjr-db
+pkgver=r115.717478b
+pkgrel=1
+pkgdesc='Project Trellis (Lattice ECP5 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/$_pjr/database
+ cp -r --no-preserve=ownership devices.json $_targets "$pkgdir"/usr/share/$_pjr/database/
+
+ install -Dm 644 COPYING "$pkgdir"/usr/share/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list