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

Filipe Laíns ffy00 at archlinux.org
Fri Nov 13 17:42:02 UTC 2020


    Date: Friday, November 13, 2020 @ 17:42:02
  Author: ffy00
Revision: 753948

Python 3.9 rebuild (1.0-2)

Change upstream to YosysHQ

Modified:
  prjtrellis/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 17:40:14 UTC (rev 753947)
+++ PKGBUILD	2020-11-13 17:42:02 UTC (rev 753948)
@@ -3,10 +3,10 @@
 _prj=trellis
 pkgname=prj$_prj
 pkgver=1.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Documentation and definitions for the Lattice ECP5 bit-stream format'
 arch=('x86_64')
-url='https://github.com/SymbiFlow/prjtrellis'
+url='https://github.com/YosysHQ/prjtrellis'
 license=('custom:ISC' 'MIT')
 depends=('boost-libs')
 makedepends=('cmake' "$pkgname-db" 'boost' 'python-sphinx' 'python-sphinx_rtd_theme' 'python-recommonmark')
@@ -13,13 +13,18 @@
 optdepends=('python: Python support')
 provides=('libtrellis')
 conflicts=('libtrellis')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('9418cd8b20e0121ca8fce3978b25209df5211b13692db9f86c08c01fc28e40b15dce5c1aed73e09f5e4d9b038259a2a4a8d346bc689d9f6f20782be170728b84')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+        "fix-undefined-runtime_error.patch::$url/commit/d323f5f3834d23a7d070ccc64baf7ead527b9eba.patch")
+sha512sums=('9418cd8b20e0121ca8fce3978b25209df5211b13692db9f86c08c01fc28e40b15dce5c1aed73e09f5e4d9b038259a2a4a8d346bc689d9f6f20782be170728b84'
+            '6043610695cd18891bbce9215ff301e3c05f4a7f4427c931cda32352012deb4ef57c1f24196f500b7e73a18b41210d6fb20fbe8f49b09993c9b4b617e7cd1b7d')
 
 prepare() {
-  sed -i -e 's|set(LIBDIR "lib64")|set(LIBDIR "lib")|' \
-         -e 's|project(libtrellis)|project(libtrellis VERSION 1.0)|' \
-            $pkgname-$pkgver/libtrellis/CMakeLists.txt
+  cd $pkgname-$pkgver
+
+  patch -p1 -i ../fix-undefined-runtime_error.patch
+
+  sed -i 's|set(LIBDIR "lib64")|set(LIBDIR "lib")|
+          s|project(libtrellis)|project(libtrellis VERSION 1.0)|' libtrellis/CMakeLists.txt
 }
 
 build() {



More information about the arch-commits mailing list