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

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

upgpkg: haskell-optional-args 1.0.2-15: rebuild with ghc 8.10.3

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 21:31:06 UTC (rev 785330)
+++ PKGBUILD2020-12-23 21:31:28 UTC (rev 785331)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=14
+pkgrel=15
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('BSD')


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 18:35:19
  Author: felixonmars
Revision: 692918

upgpkg: haskell-optional-args 1.0.2-14: rebuild with happy 1.20.0

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 18:34:26 UTC (rev 692917)
+++ PKGBUILD2020-08-30 18:35:19 UTC (rev 692918)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=13
+pkgrel=14
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('BSD')


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 07:06:37
  Author: felixonmars
Revision: 682379

upgpkg: haskell-optional-args 1.0.2-13: rebuild with ghc 8.10.2

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 07:06:05 UTC (rev 682378)
+++ PKGBUILD2020-08-17 07:06:37 UTC (rev 682379)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=12
+pkgrel=13
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 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-optional-args/trunk (PKGBUILD)

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 13:57:23
  Author: felixonmars
Revision: 618158

upgpkg: haskell-optional-args 1.0.2-12: rebuild with ghc 8.10.1

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 13:56:56 UTC (rev 618157)
+++ PKGBUILD2020-04-23 13:57:23 UTC (rev 618158)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=11
+pkgrel=12
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('BSD')


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

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

upgpkg: haskell-optional-args 1.0.2-11: rebuild with ghc 8.8.3

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 22:24:05 UTC (rev 583427)
+++ PKGBUILD2020-02-26 22:24:48 UTC (rev 583428)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=10
+pkgrel=11
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 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-optional-args/trunk (PKGBUILD)

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 14:10:48
  Author: felixonmars
Revision: 571531

upgpkg: haskell-optional-args 1.0.2-10: rebuild with ghc 8.8.2

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-15 14:10:09 UTC (rev 571530)
+++ PKGBUILD2020-02-15 14:10:48 UTC (rev 571531)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=9
+pkgrel=10
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('BSD')


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 20:08:52
  Author: felixonmars
Revision: 550597

upgpkg: haskell-optional-args 1.0.2-9: rebuild with ghc 8.8.1, cabal-doctest 
1.0.7

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 20:08:18 UTC (rev 550596)
+++ PKGBUILD2020-01-08 20:08:52 UTC (rev 550597)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=8
+pkgrel=9
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('BSD')


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

2019-04-25 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 12:36:47
  Author: felixonmars
Revision: 453801

upgpkg: haskell-optional-args 1.0.2-8

rebuild with ghc 8.6.5

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-25 12:36:10 UTC (rev 453800)
+++ PKGBUILD2019-04-25 12:36:47 UTC (rev 453801)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('BSD')


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 17:18:15
  Author: felixonmars
Revision: 438531

upgpkg: haskell-optional-args 1.0.2-7

rebuild with ghc 8.6.4

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-03-09 17:18:11 UTC (rev 438530)
+++ PKGBUILD2019-03-09 17:18:15 UTC (rev 438531)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('BSD')


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

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 22:16:55
  Author: felixonmars
Revision: 413326

upgpkg: haskell-optional-args 1.0.2-6

rebuild with ghc 8.6.3, cmark-gfm 0.1.6

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-12-09 22:16:24 UTC (rev 413325)
+++ PKGBUILD2018-12-09 22:16:55 UTC (rev 413326)
@@ -4,10 +4,10 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
-license=('custom:BSD3')
+license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs')
 makedepends=('ghc')


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

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

upgpkg: haskell-optional-args 1.0.2-5

rebuild with ghc 8.6.1

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-06 19:45:41 UTC (rev 402011)
+++ PKGBUILD2018-11-06 19:46:13 UTC (rev 402012)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('custom:BSD3')
@@ -15,10 +15,10 @@
 
sha512sums=('eb9bd475f61f1caa1d632bef9b87c6ac28319b2eca5cf103558841032b994afd9cc8bdd29e87a49c136481fae4ec1d0105203294fa84d04bd843ab310bc4f63c')
 
 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-optional-args/trunk (PKGBUILD)

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

upgpkg: haskell-optional-args 1.0.2-4

rebuild with ghc 8.6.1

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 18:16:44 UTC (rev 393747)
+++ PKGBUILD2018-10-14 18:17:17 UTC (rev 393748)
@@ -4,7 +4,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('custom:BSD3')


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

2018-06-01 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 11:49:57
  Author: felixonmars
Revision: 336049

upgpkg: haskell-optional-args 1.0.2-3

rebuild with ghc 8.4.3

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-01 11:49:26 UTC (rev 336048)
+++ PKGBUILD2018-06-01 11:49:57 UTC (rev 336049)
@@ -5,7 +5,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('custom:BSD3')


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

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

upgpkg: haskell-optional-args 1.0.2-2

rebuild with ghc 8.4.2

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-17 18:17:42 UTC (rev 323974)
+++ PKGBUILD2018-05-17 18:18:17 UTC (rev 323975)
@@ -5,7 +5,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('custom:BSD3')


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

2018-02-14 Thread Felix Yan via arch-commits
Date: Wednesday, February 14, 2018 @ 13:40:00
  Author: felixonmars
Revision: 294310

upgpkg: haskell-optional-args 1.0.2-1

rebuild with optional-args,1.0.2

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-02-14 13:38:33 UTC (rev 294309)
+++ PKGBUILD2018-02-14 13:40:00 UTC (rev 294310)
@@ -4,8 +4,8 @@
 
 _hkgname=optional-args
 pkgname=haskell-optional-args
-pkgver=1.0.1
-pkgrel=5
+pkgver=1.0.2
+pkgrel=1
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 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=('447aff69cdc9c87ee0cb2cccfe09084d4c9a8db7993b2f80bd4316eaf31ac167e40783933949df1cbf37b5975a798c9dd9fed0235537ed316ac5af9267721f2b')
+sha512sums=('eb9bd475f61f1caa1d632bef9b87c6ac28319b2eca5cf103558841032b994afd9cc8bdd29e87a49c136481fae4ec1d0105203294fa84d04bd843ab310bc4f63c')
 
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"


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

2017-11-25 Thread Felix Yan via arch-commits
Date: Sunday, November 26, 2017 @ 07:25:59
  Author: felixonmars
Revision: 268757

upgpkg: haskell-optional-args 1.0.1-5

rebuild with ghc 8.2.2

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 07:25:28 UTC (rev 268756)
+++ PKGBUILD2017-11-26 07:25:59 UTC (rev 268757)
@@ -5,7 +5,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 license=('custom:BSD3')


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

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 17:05:59
  Author: felixonmars
Revision: 260200

upgpkg: haskell-optional-args 1.0.1-4

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-09-23 17:05:47 UTC (rev 260199)
+++ PKGBUILD2017-09-23 17:05:59 UTC (rev 260200)
@@ -5,7 +5,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 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;)
-md5sums=('67ef42aebe2477ff40db1b3c1506f8d4')
+sha512sums=('447aff69cdc9c87ee0cb2cccfe09084d4c9a8db7993b2f80bd4316eaf31ac167e40783933949df1cbf37b5975a798c9dd9fed0235537ed316ac5af9267721f2b')
 
 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-optional-args/trunk (PKGBUILD)

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 08:30:38
  Author: felixonmars
Revision: 250719

upgpkg: haskell-optional-args 1.0.1-3

GHC 8.2.1 rebuild

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-08-15 08:29:44 UTC (rev 250718)
+++ PKGBUILD2017-08-15 08:30:38 UTC (rev 250719)
@@ -5,12 +5,13 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 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;)
 md5sums=('67ef42aebe2477ff40db1b3c1506f8d4')
 
@@ -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-optional-args/trunk (PKGBUILD)

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

upgpkg: haskell-optional-args 1.0.1-2

rebuild with ghc,8.0.2

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-06-17 02:45:51 UTC (rev 237847)
+++ PKGBUILD2017-06-17 02:47:04 UTC (rev 237848)
@@ -5,19 +5,19 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library;
 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;)
+depends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 md5sums=('67ef42aebe2477ff40db1b3c1506f8d4')
 
 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
 }