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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 23:02:15
  Author: felixonmars
Revision: 785643

upgpkg: haskell-cipher-aes128 0.7.0.5-9: rebuild with ghc 8.10.3

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 23:01:42 UTC (rev 785642)
+++ PKGBUILD2020-12-23 23:02:15 UTC (rev 785643)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=8
+pkgrel=9
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 19:56:52
  Author: felixonmars
Revision: 693042

upgpkg: haskell-cipher-aes128 0.7.0.5-8: rebuild with happy 1.20.0

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 19:56:06 UTC (rev 693041)
+++ PKGBUILD2020-08-30 19:56:52 UTC (rev 693042)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=7
+pkgrel=8
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 08:11:15
  Author: felixonmars
Revision: 682515

upgpkg: haskell-cipher-aes128 0.7.0.5-7: rebuild with ghc 8.10.2

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 08:10:21 UTC (rev 682514)
+++ PKGBUILD2020-08-17 08:11:15 UTC (rev 682515)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=6
+pkgrel=7
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')
@@ -19,7 +19,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-cipher-aes128/trunk (PKGBUILD)

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 15:36:37
  Author: felixonmars
Revision: 618298

upgpkg: haskell-cipher-aes128 0.7.0.5-6: rebuild with ghc 8.10.1

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 15:36:02 UTC (rev 618297)
+++ PKGBUILD2020-04-23 15:36:37 UTC (rev 618298)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=5
+pkgrel=6
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2020-04-18 Thread Felix Yan via arch-commits
Date: Saturday, April 18, 2020 @ 18:44:20
  Author: felixonmars
Revision: 616091

upgpkg: haskell-cipher-aes128 0.7.0.5-5: rebuild with entropy 0.4.1.6

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-18 18:44:05 UTC (rev 616090)
+++ PKGBUILD2020-04-18 18:44:20 UTC (rev 616091)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=4
+pkgrel=5
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 23:27:21
  Author: felixonmars
Revision: 583581

upgpkg: haskell-cipher-aes128 0.7.0.5-4: rebuild with ghc 8.8.3

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 23:26:45 UTC (rev 583580)
+++ PKGBUILD2020-02-26 23:27:21 UTC (rev 583581)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=3
+pkgrel=4
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')
@@ -32,6 +32,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-cipher-aes128/trunk (PKGBUILD)

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 16:19:50
  Author: felixonmars
Revision: 571695

upgpkg: haskell-cipher-aes128 0.7.0.5-3: rebuild with ghc 8.8.2

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-15 16:18:56 UTC (rev 571694)
+++ PKGBUILD2020-02-15 16:19:50 UTC (rev 571695)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=2
+pkgrel=3
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 22:44:28
  Author: felixonmars
Revision: 550781

upgpkg: haskell-cipher-aes128 0.7.0.5-2: rebuild with ghc 8.8.1, cabal-doctest 
1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 
0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 22:43:44 UTC (rev 550780)
+++ PKGBUILD2020-01-08 22:44:28 UTC (rev 550781)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.5
-pkgrel=1
+pkgrel=2
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2020-01-06 Thread Felix Yan via arch-commits
Date: Monday, January 6, 2020 @ 09:11:12
  Author: felixonmars
Revision: 549657

upgpkg: haskell-cipher-aes128 0.7.0.5-1: rebuild with cipher-aes128 0.7.0.5

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-06 08:07:54 UTC (rev 549656)
+++ PKGBUILD2020-01-06 09:11:12 UTC (rev 549657)
@@ -2,8 +2,8 @@
 
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
-pkgver=0.7.0.4
-pkgrel=7
+pkgver=0.7.0.5
+pkgrel=1
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-crypto-api' 'haskell-tagged' 'haskell-cereal')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('3a33c8f4c064ece06e16174243e90ddf2103bfba991835c0312ad97706b6754d04248e9aebb40455992f7e7f71b08672a76ab89b57d31481b9a807c4b3ce127f')
+sha512sums=('8479dec68d6fa35e8d615bcc8c6336459fa537f1962b7af87e63b0c38d544ed26e6d30e980f90bb3585513bd618e01330d3e008e77404dae8d2e27954d7a535a')
 
 build() {
 cd $_hkgname-$pkgver


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

2019-09-07 Thread Felix Yan via arch-commits
Date: Saturday, September 7, 2019 @ 13:07:37
  Author: felixonmars
Revision: 508387

upgpkg: haskell-cipher-aes128 0.7.0.4-7

rebuild with entropy 0.4.1.5

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-09-07 13:06:45 UTC (rev 508386)
+++ PKGBUILD2019-09-07 13:07:37 UTC (rev 508387)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.4
-pkgrel=6
+pkgrel=7
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2019-05-31 Thread Felix Yan via arch-commits
Date: Friday, May 31, 2019 @ 16:07:40
  Author: felixonmars
Revision: 475959

upgpkg: haskell-cipher-aes128 0.7.0.4-6

rebuild with cereal 0.5.8.1

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-05-31 16:06:20 UTC (rev 475958)
+++ PKGBUILD2019-05-31 16:07:40 UTC (rev 475959)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.4
-pkgrel=5
+pkgrel=6
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2019-04-25 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 16:10:26
  Author: felixonmars
Revision: 453945

upgpkg: haskell-cipher-aes128 0.7.0.4-5

rebuild with ghc 8.6.5

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-25 16:09:38 UTC (rev 453944)
+++ PKGBUILD2019-04-25 16:10:26 UTC (rev 453945)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.4
-pkgrel=4
+pkgrel=5
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 23:24:49
  Author: felixonmars
Revision: 438720

upgpkg: haskell-cipher-aes128 0.7.0.4-4

rebuild with ghc 8.6.4

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-03-09 23:24:13 UTC (rev 438719)
+++ PKGBUILD2019-03-09 23:24:49 UTC (rev 438720)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.4
-pkgrel=3
+pkgrel=4
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2019-01-10 Thread Felix Yan via arch-commits
Date: Thursday, January 10, 2019 @ 11:08:05
  Author: felixonmars
Revision: 421555

upgpkg: haskell-cipher-aes128 0.7.0.4-3

rebuild with cereal 0.5.8.0

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-01-10 11:07:26 UTC (rev 421554)
+++ PKGBUILD2019-01-10 11:08:05 UTC (rev 421555)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('BSD')


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

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 23:15:35
  Author: felixonmars
Revision: 413464

upgpkg: haskell-cipher-aes128 0.7.0.4-2

rebuild with ghc 8.6.3, cmark-gfm 0.1.6

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-12-09 23:14:56 UTC (rev 413463)
+++ PKGBUILD2018-12-09 23:15:35 UTC (rev 413464)
@@ -3,10 +3,10 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
-license=('custom:BSD3')
+license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-crypto-api' 'haskell-tagged' 'haskell-cereal')
 makedepends=('ghc')


[arch-commits] Commit in haskell-cipher-aes128/trunk (PKGBUILD cabal-2.4.patch)

2018-11-15 Thread Felix Yan via arch-commits
Date: Thursday, November 15, 2018 @ 19:07:31
  Author: felixonmars
Revision: 407745

upgpkg: haskell-cipher-aes128 0.7.0.4-1

rebuild with cipher-aes128 0.7.0.4

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD
Deleted:
  haskell-cipher-aes128/trunk/cabal-2.4.patch

-+
 PKGBUILD|   15 ---
 cabal-2.4.patch |   26 --
 2 files changed, 4 insertions(+), 37 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-15 19:05:02 UTC (rev 407744)
+++ PKGBUILD2018-11-15 19:07:31 UTC (rev 407745)
@@ -2,8 +2,8 @@
 
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
-pkgver=0.7.0.3
-pkgrel=10
+pkgver=0.7.0.4
+pkgrel=1
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')
@@ -10,16 +10,9 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-crypto-api' 'haskell-tagged' 'haskell-cereal')
 makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
-cabal-2.4.patch)
-sha512sums=('72bd1cca4ccd31be08096a53dffa9fa855b24b226904327a417f797b8b8a799d368ef00f75f9a81234a12c659b63d595d58f263cc3a4d544942be7edada413b7'
-
'f17b6a4b79192a678164a8b5f489aee1854e37be2deb30ecc404461ec1c00038e3f01fbcae26227cc7337ef5fc8577f9608194c55f122a459f76ccfad42c082b')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('3a33c8f4c064ece06e16174243e90ddf2103bfba991835c0312ad97706b6754d04248e9aebb40455992f7e7f71b08672a76ab89b57d31481b9a807c4b3ce127f')
 
-prepare() {
-cd $_hkgname-$pkgver
-patch -p1 -i ../cabal-2.4.patch
-}
-
 build() {
 cd $_hkgname-$pkgver
 

Deleted: cabal-2.4.patch
===
--- cabal-2.4.patch 2018-11-15 19:05:02 UTC (rev 407744)
+++ cabal-2.4.patch 2018-11-15 19:07:31 UTC (rev 407745)
@@ -1,26 +0,0 @@
-commit 3fcc30f8af64b7eaadeed007301954bd69a23d38
-Author: Felix Yan 
-Date:   Mon Oct 15 07:06:14 2018 +0800
-
-Fix compatibility with Cabal 2.4
-
-Fixes build with GHC 8.6
-
-diff --git a/Setup.hs b/Setup.hs
-index 98dbe34..3fe4081 100644
 a/Setup.hs
-+++ b/Setup.hs
-@@ -13,8 +13,13 @@ main :: IO ()
- main = defaultMainWithHooks hk
-  where
-  hk = simpleUserHooks { buildHook = \pd lbi uh bf -> do
-+#if MIN_VERSION_Cabal(2,4,0)
-+let ccProg = Program "gcc" undefined 
undefined undefined undefined
-+hcProg = Program "ghc" undefined 
undefined undefined undefined
-+#else
- let ccProg = Program "gcc" undefined 
undefined undefined
- hcProg = Program "ghc" undefined 
undefined undefined
-+#endif
- mConf  = lookupProgram ccProg 
(withPrograms lbi)
- hcConf = lookupProgram hcProg 
(withPrograms lbi)
- err = error "Could not determine 
C compiler"


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

2018-11-14 Thread Felix Yan via arch-commits
Date: Wednesday, November 14, 2018 @ 21:24:08
  Author: felixonmars
Revision: 407499

upgpkg: haskell-cipher-aes128 0.7.0.3-10

rebuild with entropy 0.4.1.4

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-14 21:23:29 UTC (rev 407498)
+++ PKGBUILD2018-11-14 21:24:08 UTC (rev 407499)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=9
+pkgrel=10
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')


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

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 20:56:06
  Author: felixonmars
Revision: 402161

upgpkg: haskell-cipher-aes128 0.7.0.3-9

rebuild with ghc 8.6.2

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-06 20:55:20 UTC (rev 402160)
+++ PKGBUILD2018-11-06 20:56:06 UTC (rev 402161)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=8
+pkgrel=9
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')
@@ -24,7 +24,7 @@
 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
@@ -36,9 +36,9 @@
 package() {
 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-cipher-aes128/trunk (PKGBUILD cabal-2.4.patch)

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 23:08:42
  Author: felixonmars
Revision: 393910

use a proper patch

Added:
  haskell-cipher-aes128/trunk/cabal-2.4.patch
Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

-+
 PKGBUILD|8 +---
 cabal-2.4.patch |   26 ++
 2 files changed, 31 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 23:08:38 UTC (rev 393909)
+++ PKGBUILD2018-10-14 23:08:42 UTC (rev 393910)
@@ -10,12 +10,14 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-crypto-api' 'haskell-tagged' 'haskell-cereal')
 makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('72bd1cca4ccd31be08096a53dffa9fa855b24b226904327a417f797b8b8a799d368ef00f75f9a81234a12c659b63d595d58f263cc3a4d544942be7edada413b7')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+cabal-2.4.patch)
+sha512sums=('72bd1cca4ccd31be08096a53dffa9fa855b24b226904327a417f797b8b8a799d368ef00f75f9a81234a12c659b63d595d58f263cc3a4d544942be7edada413b7'
+
'f17b6a4b79192a678164a8b5f489aee1854e37be2deb30ecc404461ec1c00038e3f01fbcae26227cc7337ef5fc8577f9608194c55f122a459f76ccfad42c082b')
 
 prepare() {
 cd $_hkgname-$pkgver
-sed -i 's/undefined undefined undefined/undefined undefined undefined 
undefined/' Setup.hs
+patch -p1 -i ../cabal-2.4.patch
 }
 
 build() {

Added: cabal-2.4.patch
===
--- cabal-2.4.patch (rev 0)
+++ cabal-2.4.patch 2018-10-14 23:08:42 UTC (rev 393910)
@@ -0,0 +1,26 @@
+commit 3fcc30f8af64b7eaadeed007301954bd69a23d38
+Author: Felix Yan 
+Date:   Mon Oct 15 07:06:14 2018 +0800
+
+Fix compatibility with Cabal 2.4
+
+Fixes build with GHC 8.6
+
+diff --git a/Setup.hs b/Setup.hs
+index 98dbe34..3fe4081 100644
+--- a/Setup.hs
 b/Setup.hs
+@@ -13,8 +13,13 @@ main :: IO ()
+ main = defaultMainWithHooks hk
+  where
+  hk = simpleUserHooks { buildHook = \pd lbi uh bf -> do
++#if MIN_VERSION_Cabal(2,4,0)
++let ccProg = Program "gcc" undefined 
undefined undefined undefined
++hcProg = Program "ghc" undefined 
undefined undefined undefined
++#else
+ let ccProg = Program "gcc" undefined 
undefined undefined
+ hcProg = Program "ghc" undefined 
undefined undefined
++#endif
+ mConf  = lookupProgram ccProg 
(withPrograms lbi)
+ hcConf = lookupProgram hcProg 
(withPrograms lbi)
+ err = error "Could not determine 
C compiler"


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

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 23:03:45
  Author: felixonmars
Revision: 393902

upgpkg: haskell-cipher-aes128 0.7.0.3-8

rebuild with ghc 8.6.1

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 22:08:04 UTC (rev 393901)
+++ PKGBUILD2018-10-14 23:03:45 UTC (rev 393902)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=7
+pkgrel=8
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')
@@ -13,6 +13,11 @@
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 
sha512sums=('72bd1cca4ccd31be08096a53dffa9fa855b24b226904327a417f797b8b8a799d368ef00f75f9a81234a12c659b63d595d58f263cc3a4d544942be7edada413b7')
 
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/undefined undefined undefined/undefined undefined undefined 
undefined/' Setup.hs
+}
+
 build() {
 cd $_hkgname-$pkgver
 


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

2018-09-24 Thread Felix Yan via arch-commits
Date: Monday, September 24, 2018 @ 07:27:16
  Author: felixonmars
Revision: 384407

upgpkg: haskell-cipher-aes128 0.7.0.3-7

rebuild with entropy 0.4.1.3

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-09-24 07:26:32 UTC (rev 384406)
+++ PKGBUILD2018-09-24 07:27:16 UTC (rev 384407)
@@ -3,7 +3,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=6
+pkgrel=7
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')


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

2018-08-09 Thread Felix Yan via arch-commits
Date: Friday, August 10, 2018 @ 04:52:32
  Author: felixonmars
Revision: 370683

upgpkg: haskell-cipher-aes128 0.7.0.3-6

rebuild with cereal 0.5.7.0

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-08-10 04:51:53 UTC (rev 370682)
+++ PKGBUILD2018-08-10 04:52:32 UTC (rev 370683)
@@ -4,7 +4,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=5
+pkgrel=6
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')


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

2018-07-02 Thread Felix Yan via arch-commits
Date: Tuesday, July 3, 2018 @ 04:18:15
  Author: felixonmars
Revision: 350330

upgpkg: haskell-cipher-aes128 0.7.0.3-5

rebuild with tagged 0.8.6

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-03 04:17:23 UTC (rev 350329)
+++ PKGBUILD2018-07-03 04:18:15 UTC (rev 350330)
@@ -4,7 +4,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=4
+pkgrel=5
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')


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

2018-05-31 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 04:10:53
  Author: felixonmars
Revision: 335431

upgpkg: haskell-cipher-aes128 0.7.0.3-4

rebuild with ghc 8.4.3

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-01 04:10:15 UTC (rev 335430)
+++ PKGBUILD2018-06-01 04:10:53 UTC (rev 335431)
@@ -4,7 +4,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=3
+pkgrel=4
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')


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

2018-05-27 Thread Felix Yan via arch-commits
Date: Sunday, May 27, 2018 @ 18:36:21
  Author: felixonmars
Revision: 332012

upgpkg: haskell-cipher-aes128 0.7.0.3-3

rebuild with entropy 0.4.1.1

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-27 18:35:38 UTC (rev 332011)
+++ PKGBUILD2018-05-27 18:36:21 UTC (rev 332012)
@@ -4,7 +4,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')


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

2018-05-26 Thread Felix Yan via arch-commits
Date: Saturday, May 26, 2018 @ 18:33:33
  Author: felixonmars
Revision: 330293

upgpkg: haskell-cipher-aes128 0.7.0.3-2

rebuild with transformers-base 0.4.5.2 transformers-compat 0.6.2

Modified:
  haskell-cipher-aes128/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-26 18:32:56 UTC (rev 330292)
+++ PKGBUILD2018-05-26 18:33:33 UTC (rev 330293)
@@ -4,7 +4,7 @@
 _hkgname=cipher-aes128
 pkgname=haskell-cipher-aes128
 pkgver=0.7.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="AES and common modes using AES-NI when available."
 url="https://github.com/TomMD/cipher-aes128;
 license=('custom:BSD3')