[arch-commits] Commit in haskell-ghc-api-compat/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 28 12:42:29 UTC 2021
Date: Monday, June 28, 2021 @ 12:42:29
Author: felixonmars
Revision: 967691
upgpkg: haskell-ghc-api-compat 8.6.1-2: add a pending patch for hie-bios
Modified:
haskell-ghc-api-compat/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-28 12:26:59 UTC (rev 967690)
+++ PKGBUILD 2021-06-28 12:42:29 UTC (rev 967691)
@@ -4,7 +4,7 @@
pkgname=haskell-ghc-api-compat
pkgver=8.6.1
_commit=9e8c1ec540bc0a68700e8541d44dca14913c5c9e
-pkgrel=1
+pkgrel=2
pkgdesc="GHC-API compatibility helpers"
url="https://hackage.haskell.org/package/ghc-api-compat"
license=("BSD")
@@ -13,13 +13,16 @@
makedepends=('ghc' 'uusi')
# https://gitlab.haskell.org/haskell/ghc-api-compat/-/issues/1
#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-source=("https://gitlab.haskell.org/haskell/ghc-api-compat/-/archive/$_commit/ghc-api-compat-$_commit.tar.bz2")
-sha256sums=('c9ff586aca0ccd6ccffe333403d21c9b86ed6dbd6335830419c0875c7df891bc')
+source=("https://gitlab.haskell.org/haskell/ghc-api-compat/-/archive/$_commit/ghc-api-compat-$_commit.tar.bz2"
+ $_hkgname-ways.patch::https://gitlab.haskell.org/haskell/ghc-api-compat/-/merge_requests/2.patch)
+sha256sums=('c9ff586aca0ccd6ccffe333403d21c9b86ed6dbd6335830419c0875c7df891bc'
+ '4558eced20f4d436b03200a09543f00e1de7f78d1df7998bcbb4ebab8dfdba3b')
prepare() {
cd $_hkgname-$_commit
gen-setup
- sed -i 's/GHC.Platform.ARM64/GHC.Platform.AArch64/' $_hkgname.cabal
+ # sed -i 's/GHC.Platform.ARM64/GHC.Platform.AArch64/' $_hkgname.cabal
+ patch -p1 -i ../$_hkgname-ways.patch
}
build() {
More information about the arch-commits
mailing list