[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sat Dec 28 15:46:47 UTC 2019


    Date: Saturday, December 28, 2019 @ 15:46:47
  Author: jelle
Revision: 543599

icestorm: initial commit

Added:
  icestorm/
  icestorm/repos/
  icestorm/trunk/
  icestorm/trunk/PKGBUILD

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

Added: icestorm/trunk/PKGBUILD
===================================================================
--- icestorm/trunk/PKGBUILD	                        (rev 0)
+++ icestorm/trunk/PKGBUILD	2019-12-28 15:46:47 UTC (rev 543599)
@@ -0,0 +1,35 @@
+# Contributor: Sebastian Bøe <sebastianbooe at gmail.com>
+
+pkgname=icestorm
+pkgver=r170.da6ad20
+pkgrel=1
+pkgdesc="Lattice iCE40 FPGAs Bitstream Documentation (Reverse Engineered)"
+arch=('x86_64')
+url="http://www.clifford.at/icestorm/"
+license=('custom:ISC')
+depends=('python' 'libftdi-compat')
+source=('git+https://github.com/cliffordwolf/icestorm.git')
+md5sums=('SKIP')
+_prefix="/usr"
+
+build() {
+	cd "$srcdir/${pkgname%-git}"
+
+    make \
+        CXX=$CXX \
+        PREFIX=$_prefix
+}
+
+package() {
+	cd "$srcdir/${pkgname%-git}"
+
+	# Move the license file into place
+	install -dm 755        "$pkgdir/usr/share/licenses/$pkgname"
+	install -m  644 README "$pkgdir/usr/share/licenses/$pkgname"
+
+	# Install the package
+	make \
+      DESTDIR="$pkgdir" \
+      PREFIX=$_prefix \
+      install
+}



More information about the arch-commits mailing list