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

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

upgpkg: haskell-loch-th 0.2.2-15: rebuild with ghc 8.10.3

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 21:12:35 UTC (rev 785266)
+++ PKGBUILD2020-12-23 21:13:13 UTC (rev 785267)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=14
+pkgrel=15
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("BSD")


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 18:02:31
  Author: felixonmars
Revision: 692866

upgpkg: haskell-loch-th 0.2.2-14: rebuild with happy 1.20.0

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 18:01:52 UTC (rev 692865)
+++ PKGBUILD2020-08-30 18:02:31 UTC (rev 692866)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=13
+pkgrel=14
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("BSD")


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 06:44:21
  Author: felixonmars
Revision: 682327

upgpkg: haskell-loch-th 0.2.2-13: rebuild with ghc 8.10.2

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 06:43:49 UTC (rev 682326)
+++ PKGBUILD2020-08-17 06:44:21 UTC (rev 682327)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=12
+pkgrel=13
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 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-loch-th/trunk (PKGBUILD)

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 12:09:14
  Author: felixonmars
Revision: 618100

upgpkg: haskell-loch-th 0.2.2-12: rebuild with ghc 8.10.1

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 12:08:48 UTC (rev 618099)
+++ PKGBUILD2020-04-23 12:09:14 UTC (rev 618100)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=11
+pkgrel=12
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("BSD")


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

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 22:01:48
  Author: felixonmars
Revision: 583368

upgpkg: haskell-loch-th 0.2.2-11: rebuild with ghc 8.8.3

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 22:01:15 UTC (rev 583367)
+++ PKGBUILD2020-02-26 22:01:48 UTC (rev 583368)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=10
+pkgrel=11
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 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-loch-th/trunk (PKGBUILD)

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 13:24:16
  Author: felixonmars
Revision: 571475

upgpkg: haskell-loch-th 0.2.2-10: rebuild with ghc 8.8.2

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-15 13:23:44 UTC (rev 571474)
+++ PKGBUILD2020-02-15 13:24:16 UTC (rev 571475)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=9
+pkgrel=10
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("BSD")


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 19:46:43
  Author: felixonmars
Revision: 550535

upgpkg: haskell-loch-th 0.2.2-9: rebuild with ghc 8.8.1, cabal-doctest 1.0.7

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 19:46:41 UTC (rev 550534)
+++ PKGBUILD2020-01-08 19:46:43 UTC (rev 550535)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=8
+pkgrel=9
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("BSD")


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

2019-04-25 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 11:43:38
  Author: felixonmars
Revision: 453730

upgpkg: haskell-loch-th 0.2.2-8

rebuild with ghc 8.6.5

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-25 11:43:06 UTC (rev 453729)
+++ PKGBUILD2019-04-25 11:43:38 UTC (rev 453730)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("BSD")


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 16:48:45
  Author: felixonmars
Revision: 438465

upgpkg: haskell-loch-th 0.2.2-7

rebuild with ghc 8.6.4

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-03-09 16:48:14 UTC (rev 438464)
+++ PKGBUILD2019-03-09 16:48:45 UTC (rev 438465)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("BSD")


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

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

upgpkg: haskell-loch-th 0.2.2-6

rebuild with ghc 8.6.3, cmark-gfm 0.1.6

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-12-09 21:53:39 UTC (rev 413270)
+++ PKGBUILD2018-12-09 21:54:09 UTC (rev 413271)
@@ -4,10 +4,10 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
-license=("custom:BSD3")
+license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
 makedepends=('ghc')


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

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

upgpkg: haskell-loch-th 0.2.2-5

rebuild with ghc 8.6.1

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-06 19:20:35 UTC (rev 401955)
+++ PKGBUILD2018-11-06 19:21:08 UTC (rev 401956)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 
sha512sums=('e2bbad416b1628563913bd192191aff019c1b99a991f5c5b3006c05888cc2f5eead73fb6ff21b462a2c6e52e475677af4371f35f0836315ecade983c2d0731fe')
 
 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-loch-th/trunk (PKGBUILD)

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 17:46:00
  Author: felixonmars
Revision: 393694

upgpkg: haskell-loch-th 0.2.2-4

rebuild with ghc 8.6.1

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 17:13:29 UTC (rev 393693)
+++ PKGBUILD2018-10-14 17:46:00 UTC (rev 393694)
@@ -4,7 +4,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("custom:BSD3")


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

2018-05-31 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 05:09:41
  Author: felixonmars
Revision: 335545

upgpkg: haskell-loch-th 0.2.2-3

rebuild with ghc 8.4.3

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-01 05:09:05 UTC (rev 335544)
+++ PKGBUILD2018-06-01 05:09:41 UTC (rev 335545)
@@ -5,7 +5,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("custom:BSD3")


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

2018-05-17 Thread Felix Yan via arch-commits
Date: Thursday, May 17, 2018 @ 08:33:16
  Author: felixonmars
Revision: 323488

upgpkg: haskell-loch-th 0.2.2-2

rebuild with ghc 8.4.2

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-17 08:32:44 UTC (rev 323487)
+++ PKGBUILD2018-05-17 08:33:16 UTC (rev 323488)
@@ -5,7 +5,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("custom:BSD3")


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

2018-04-10 Thread Felix Yan via arch-commits
Date: Tuesday, April 10, 2018 @ 16:54:10
  Author: felixonmars
Revision: 315602

upgpkg: haskell-loch-th 0.2.2-1

rebuild with loch-th,0.2.2

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-04-10 16:52:47 UTC (rev 315601)
+++ PKGBUILD2018-04-10 16:54:10 UTC (rev 315602)
@@ -4,8 +4,8 @@
 
 _hkgname=loch-th
 pkgname=haskell-loch-th
-pkgver=0.2.1
-pkgrel=6
+pkgver=0.2.2
+pkgrel=1
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("custom:BSD3")
@@ -13,7 +13,7 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('8073ead21f0ae6db4ffa75de641d183ac25eec126d173a091dcd25b483debee0cc2a15896c86c525b13dc3ba051c6a35a64ba5f67ae2177f943fdde23085f945')
+sha512sums=('e2bbad416b1628563913bd192191aff019c1b99a991f5c5b3006c05888cc2f5eead73fb6ff21b462a2c6e52e475677af4371f35f0836315ecade983c2d0731fe')
 
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"


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

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

upgpkg: haskell-loch-th 0.2.1-6

rebuild with ghc 8.2.2

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 06:24:35 UTC (rev 268674)
+++ PKGBUILD2017-11-26 06:25:04 UTC (rev 268675)
@@ -5,7 +5,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 license=("custom:BSD3")


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

2017-09-22 Thread Felix Yan
Date: Friday, September 22, 2017 @ 16:28:37
  Author: felixonmars
Revision: 259616

upgpkg: haskell-loch-th 0.2.1-5

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-09-22 16:27:35 UTC (rev 259615)
+++ PKGBUILD2017-09-22 16:28:37 UTC (rev 259616)
@@ -5,7 +5,7 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 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=('77541dcb8fb0ae2c7984fc704e53635dbec83974a172611339941bfc9f96d9cd')
+sha512sums=('8073ead21f0ae6db4ffa75de641d183ac25eec126d173a091dcd25b483debee0cc2a15896c86c525b13dc3ba051c6a35a64ba5f67ae2177f943fdde23085f945')
 
 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-loch-th/trunk (PKGBUILD)

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 07:06:33
  Author: felixonmars
Revision: 250627

upgpkg: haskell-loch-th 0.2.1-4

GHC 8.2.1 rebuild

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-08-15 07:04:03 UTC (rev 250626)
+++ PKGBUILD2017-08-15 07:06:33 UTC (rev 250627)
@@ -5,12 +5,13 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 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=('77541dcb8fb0ae2c7984fc704e53635dbec83974a172611339941bfc9f96d9cd')
 
@@ -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-loch-th/trunk (PKGBUILD)

2017-06-15 Thread Felix Yan
Date: Thursday, June 15, 2017 @ 17:54:31
  Author: felixonmars
Revision: 237321

upgpkg: haskell-loch-th 0.2.1-3

rebuild with ghc,8.0.2

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-06-15 17:51:40 UTC (rev 237320)
+++ PKGBUILD2017-06-15 17:54:31 UTC (rev 237321)
@@ -5,12 +5,12 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 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=('77541dcb8fb0ae2c7984fc704e53635dbec83974a172611339941bfc9f96d9cd')
 
@@ -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-loch-th/trunk (PKGBUILD)

2017-04-26 Thread Felix Yan
Date: Wednesday, April 26, 2017 @ 08:43:09
  Author: felixonmars
Revision: 225554

use https

Modified:
  haskell-loch-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-04-26 08:43:02 UTC (rev 225553)
+++ PKGBUILD2017-04-26 08:43:09 UTC (rev 225554)
@@ -11,7 +11,7 @@
 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=('77541dcb8fb0ae2c7984fc704e53635dbec83974a172611339941bfc9f96d9cd')
 
 build() {


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

2016-05-25 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 18:16:13
  Author: fyan
Revision: 177026

upgpkg: haskell-loch-th 0.2.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-loch-th/trunk/PKGBUILD
Deleted:
  haskell-loch-th/trunk/haskell-loch-th.install

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

Modified: PKGBUILD
===
--- PKGBUILD2016-05-25 16:15:50 UTC (rev 177025)
+++ PKGBUILD2016-05-25 16:16:13 UTC (rev 177026)
@@ -5,15 +5,13 @@
 _hkgname=loch-th
 pkgname=haskell-loch-th
 pkgver=0.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Support for precise error locations in source files (Template Haskell 
version)"
 url="https://github.com/liskin/loch-th;
 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=('77541dcb8fb0ae2c7984fc704e53635dbec83974a172611339941bfc9f96d9cd')
 
 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-loch-th.install
===
--- haskell-loch-th.install 2016-05-25 16:15:50 UTC (rev 177025)
+++ haskell-loch-th.install 2016-05-25 16:16:13 UTC (rev 177026)
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/haskell-loch-th
-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)
-}