Date: Monday, March 21, 2022 @ 01:45:40
  Author: felixonmars
Revision: 1166472

upgpkg: haskell-lpeg 1.0.0-6: use system lpeg

Modified:
  haskell-lpeg/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-21 01:37:42 UTC (rev 1166471)
+++ PKGBUILD    2022-03-21 01:45:40 UTC (rev 1166472)
@@ -3,12 +3,12 @@
 _hkgname=lpeg
 pkgname=haskell-lpeg
 pkgver=1.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc="LPeg – Parsing Expression Grammars For Lua"
 url="https://hslua.org/";
 license=("MIT")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-lua')
+depends=('ghc-libs' 'haskell-lua' 'lua53-lpeg')
 makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
 sha256sums=('da497ce03ebdb9596a2e68befe4fa738b3d33523590bb647ba733af37e14a004')
@@ -25,7 +25,8 @@
     --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
     --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie'
+    --ghc-option='-pie' \
+    -frely-on-shared-lpeg-library
 
   runhaskell Setup build $MAKEFLAGS
   runhaskell Setup register --gen-script

Reply via email to