Date: Saturday, September 23, 2017 @ 17:32:25
  Author: felixonmars
Revision: 260256

upgpkg: haskell-pango 0.13.3.1-5

Modified:
  haskell-pango/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-09-23 17:32:07 UTC (rev 260255)
+++ PKGBUILD    2017-09-23 17:32:25 UTC (rev 260256)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-pango
 pkgver=0.13.3.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Binding to the pango library for Gtk2Hs."
 url="https://hackage.haskell.org/package/pango";
 license=('LGPL2.1')
@@ -14,7 +14,7 @@
 replaces=('gtk2hs-pango')
 conflicts=('gtk2hs-pango')
 
source=("https://github.com/gtk2hs/gtk2hs/archive/843d83548bd076975f1869e6768768b5ed24b268.tar.gz";)
-sha256sums=('1de00973cf66154605411892c77b232b0066c98ab2d562595ded3d9d95c4c547')
+sha512sums=('610a080ddf8ad8511176a7fd5ed5457aa26b5ce48539b7eb46563d86db1ffab6501f8b4deac4152f7d9cea84093de34e1bd1bb9467f558f1c202026337e1c708')
 
 prepare() {
     mv gtk2hs-843d83548bd076975f1869e6768768b5ed24b268/pango pango-$pkgver
@@ -23,7 +23,7 @@
 build() {
     cd "${srcdir}/pango-${pkgver}"
 
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     sed -i 's|import Foreign.C.Types.*(CULong, CUInt)|import Foreign.C.Types 
(CULong(..), CUInt(..))|' Graphics/Rendering/Pango/Types.chs
@@ -40,7 +40,4 @@
     install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     runhaskell Setup copy --destdir="${pkgdir}"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
 }

Reply via email to