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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 21:58:49
  Author: felixonmars
Revision: 785429

upgpkg: haskell-libffi 0.1-21: rebuild with ghc 8.10.3

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 21:58:24 UTC (rev 785428)
+++ PKGBUILD2020-12-23 21:58:49 UTC (rev 785429)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=20
+pkgrel=21
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 18:00:50
  Author: felixonmars
Revision: 692862

upgpkg: haskell-libffi 0.1-20: rebuild with happy 1.20.0

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 17:59:46 UTC (rev 692861)
+++ PKGBUILD2020-08-30 18:00:50 UTC (rev 692862)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=19
+pkgrel=20
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 06:42:50
  Author: felixonmars
Revision: 682323

upgpkg: haskell-libffi 0.1-19: rebuild with ghc 8.10.2

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 06:42:16 UTC (rev 682322)
+++ PKGBUILD2020-08-17 06:42:50 UTC (rev 682323)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=18
+pkgrel=19
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")
@@ -20,7 +20,7 @@
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
 --prefix=/usr --docdir=/usr/share/doc/$pkgname \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
+runhaskell Setup build $MAKEFLAGS
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
 sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh


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

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 12:08:01
  Author: felixonmars
Revision: 618096

upgpkg: haskell-libffi 0.1-18: rebuild with ghc 8.10.1

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 12:07:34 UTC (rev 618095)
+++ PKGBUILD2020-04-23 12:08:01 UTC (rev 618096)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=17
+pkgrel=18
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2020-04-08 Thread Felix Yan via arch-commits
Date: Wednesday, April 8, 2020 @ 16:38:01
  Author: felixonmars
Revision: 612661

libffi 3.3 rebuild

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-08 16:35:36 UTC (rev 612660)
+++ PKGBUILD2020-04-08 16:38:01 UTC (rev 612661)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=16
+pkgrel=17
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 22:00:12
  Author: felixonmars
Revision: 583364

upgpkg: haskell-libffi 0.1-16: rebuild with ghc 8.8.3

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 21:59:37 UTC (rev 583363)
+++ PKGBUILD2020-02-26 22:00:12 UTC (rev 583364)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=15
+pkgrel=16
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")
@@ -33,6 +33,6 @@
 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"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
 }


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

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 13:22:44
  Author: felixonmars
Revision: 571471

upgpkg: haskell-libffi 0.1-15: rebuild with ghc 8.8.2

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-15 13:22:10 UTC (rev 571470)
+++ PKGBUILD2020-02-15 13:22:44 UTC (rev 571471)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=14
+pkgrel=15
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 19:45:18
  Author: felixonmars
Revision: 550529

upgpkg: haskell-libffi 0.1-14: rebuild with ghc 8.8.1, cabal-doctest 1.0.7

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 19:44:41 UTC (rev 550528)
+++ PKGBUILD2020-01-08 19:45:18 UTC (rev 550529)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=13
+pkgrel=14
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2019-04-25 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 11:42:02
  Author: felixonmars
Revision: 453726

upgpkg: haskell-libffi 0.1-13

rebuild with ghc 8.6.5

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-25 11:41:29 UTC (rev 453725)
+++ PKGBUILD2019-04-25 11:42:02 UTC (rev 453726)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=12
+pkgrel=13
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 16:47:08
  Author: felixonmars
Revision: 438461

upgpkg: haskell-libffi 0.1-12

rebuild with ghc 8.6.4

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-09 16:46:33 UTC (rev 438460)
+++ PKGBUILD2019-03-09 16:47:08 UTC (rev 438461)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=11
+pkgrel=12
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 21:52:37
  Author: felixonmars
Revision: 413267

upgpkg: haskell-libffi 0.1-11

rebuild with ghc 8.6.3, cmark-gfm 0.1.6

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-12-09 21:51:51 UTC (rev 413266)
+++ PKGBUILD2018-12-09 21:52:37 UTC (rev 413267)
@@ -4,10 +4,10 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=10
+pkgrel=11
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
-license=("custom:BSD3")
+license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
 makedepends=('ghc')


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

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 19:19:28
  Author: felixonmars
Revision: 401950

upgpkg: haskell-libffi 0.1-10

rebuild with ghc 8.6.1

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-06 19:18:50 UTC (rev 401949)
+++ PKGBUILD2018-11-06 19:19:28 UTC (rev 401950)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=9
+pkgrel=10
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 
sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
 
 build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
+cd $_hkgname-$pkgver
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
 runhaskell Setup register --gen-script
@@ -28,11 +28,11 @@
 }
 
 package() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
+cd $_hkgname-$pkgver
 
-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}"
+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"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }


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

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 15:53:08
  Author: felixonmars
Revision: 393684

upgpkg: haskell-libffi 0.1-9

rebuild with ghc 8.6.1

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 15:52:31 UTC (rev 393683)
+++ PKGBUILD2018-10-14 15:53:08 UTC (rev 393684)
@@ -4,7 +4,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=8
+pkgrel=9
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")


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

2018-06-01 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 12:14:21
  Author: felixonmars
Revision: 336095

upgpkg: haskell-libffi 0.1-8

rebuild with ghc 8.4.3

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-01 12:13:48 UTC (rev 336094)
+++ PKGBUILD2018-06-01 12:14:21 UTC (rev 336095)
@@ -5,7 +5,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=7
+pkgrel=8
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")


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

2018-05-17 Thread Felix Yan via arch-commits
Date: Thursday, May 17, 2018 @ 18:40:05
  Author: felixonmars
Revision: 324017

upgpkg: haskell-libffi 0.1-7

rebuild with ghc 8.4.2

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-17 18:39:28 UTC (rev 324016)
+++ PKGBUILD2018-05-17 18:40:05 UTC (rev 324017)
@@ -5,7 +5,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=6
+pkgrel=7
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")


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

2017-11-25 Thread Felix Yan via arch-commits
Date: Sunday, November 26, 2017 @ 06:24:15
  Author: felixonmars
Revision: 268673

upgpkg: haskell-libffi 0.1-6

rebuild with ghc 8.2.2

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 06:23:44 UTC (rev 268672)
+++ PKGBUILD2017-11-26 06:24:15 UTC (rev 268673)
@@ -5,7 +5,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=5
+pkgrel=6
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")


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

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 16:06:55
  Author: felixonmars
Revision: 260080

upgpkg: haskell-libffi 0.1-5

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-09-23 16:06:41 UTC (rev 260079)
+++ PKGBUILD2017-09-23 16:06:55 UTC (rev 260080)
@@ -5,7 +5,7 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha256sums=('48387067c0f33bcfadf7a3bebbf48a55294202500f2b754229ffc8f12cb4f23c')
+sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
 
 build() {
 cd "${srcdir}/${_hkgname}-${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}" \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
@@ -36,7 +36,4 @@
 runhaskell Setup copy --destdir="${pkgdir}"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
 }


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

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 07:03:37
  Author: felixonmars
Revision: 250625

upgpkg: haskell-libffi 0.1-4

GHC 8.2.1 rebuild

Modified:
  haskell-libffi/trunk/PKGBUILD

--+
 PKGBUILD |   10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-15 07:02:29 UTC (rev 250624)
+++ PKGBUILD2017-08-15 07:03:37 UTC (rev 250625)
@@ -5,12 +5,13 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc")
+depends=('ghc-libs')
+makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 sha256sums=('48387067c0f33bcfadf7a3bebbf48a55294202500f2b754229ffc8f12cb4f23c')
 
@@ -19,9 +20,8 @@
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
 --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
---libsubdir=\$compiler/site-local/\$pkgid
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
-runhaskell Setup haddock --hoogle --html
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
 sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -33,8 +33,6 @@
 
 install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
 install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
 runhaskell Setup copy --destdir="${pkgdir}"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"


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

2017-06-16 Thread Felix Yan
Date: Saturday, June 17, 2017 @ 02:29:47
  Author: felixonmars
Revision: 237826

upgpkg: haskell-libffi 0.1-3

rebuild with ghc,8.0.2

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-06-17 02:24:00 UTC (rev 237825)
+++ PKGBUILD2017-06-17 02:29:47 UTC (rev 237826)
@@ -5,12 +5,12 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A binding to libffi"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=8.0.1")
+depends=("ghc")
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 sha256sums=('48387067c0f33bcfadf7a3bebbf48a55294202500f2b754229ffc8f12cb4f23c')
 
@@ -17,7 +17,7 @@
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
 
-runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
 --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
 --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
@@ -38,4 +38,7 @@
 runhaskell Setup copy --destdir="${pkgdir}"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
 }


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

2017-04-26 Thread Felix Yan
Date: Wednesday, April 26, 2017 @ 08:42:57
  Author: felixonmars
Revision: 225552

use https

Modified:
  haskell-libffi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-04-26 08:42:51 UTC (rev 225551)
+++ PKGBUILD2017-04-26 08:42:57 UTC (rev 225552)
@@ -7,11 +7,11 @@
 pkgver=0.1
 pkgrel=2
 pkgdesc="A binding to libffi"
-url="http://hackage.haskell.org/package/${_hkgname};
+url="https://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=("ghc=8.0.1")
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 sha256sums=('48387067c0f33bcfadf7a3bebbf48a55294202500f2b754229ffc8f12cb4f23c')
 
 build() {


[arch-commits] Commit in haskell-libffi/trunk (PKGBUILD haskell-libffi.install)

2016-05-25 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 12:24:31
  Author: fyan
Revision: 176852

upgpkg: haskell-libffi 0.1-2

rebuild with ghc-8.0.1, base-prelude-1.0.1.1, cabal-install-1.24.0.0, 
cairo-0.13.2.0, cmark-0.5.2.1, data-default-0.7.0, data-default-class-0.1.0, 
extra-1.4.7, generic-trie-0.3.0.2, glib-0.13.3.0, gtk3-0.14.3, 
haddock-api-2.17.2, haddock-library-1.4.1, js-jquery-1.12.4, memory-0.13, 
microlens-0.4.4.0, network-multicast-0.1.1, pango-0.13.2.0, 
simple-sendfile-0.2.24, stack-1.1.2, texmath-0.8.6.3, wai-3.2.1.1

Modified:
  haskell-libffi/trunk/PKGBUILD
Deleted:
  haskell-libffi/trunk/haskell-libffi.install

+
 PKGBUILD   |   11 +--
 haskell-libffi.install |   18 --
 2 files changed, 5 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-25 10:24:24 UTC (rev 176851)
+++ PKGBUILD2016-05-25 10:24:31 UTC (rev 176852)
@@ -5,15 +5,13 @@
 _hkgname=libffi
 pkgname=haskell-libffi
 pkgver=0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A binding to libffi"
 url="http://hackage.haskell.org/package/${_hkgname};
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc=7.10.3")
-options=('staticlibs')
+depends=("ghc=8.0.1")
 
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-install="${pkgname}.install"
 sha256sums=('48387067c0f33bcfadf7a3bebbf48a55294202500f2b754229ffc8f12cb4f23c')
 
 build() {
@@ -26,6 +24,7 @@
 runhaskell Setup haddock --hoogle --html
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
@@ -32,8 +31,8 @@
 package() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
 
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
-install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
 install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
 ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
 runhaskell Setup copy --destdir="${pkgdir}"

Deleted: haskell-libffi.install
===
--- haskell-libffi.install  2016-05-25 10:24:24 UTC (rev 176851)
+++ haskell-libffi.install  2016-05-25 10:24:31 UTC (rev 176852)
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/haskell-libffi
-post_install() {
-  ${HS_DIR}/register.sh
-  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_upgrade() {
-  ${HS_DIR}/unregister.sh
-}
-post_upgrade() {
-  ${HS_DIR}/register.sh
-  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_remove() {
-  ${HS_DIR}/unregister.sh
-}
-post_remove() {
-  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}