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

2017-08-14 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 04:23:25
  Author: felixonmars
Revision: 250483

upgpkg: haskell-byteorder 1.0.4-4

GHC 8.2.1 rebuild

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-08-15 04:23:17 UTC (rev 250482)
+++ PKGBUILD2017-08-15 04:23:25 UTC (rev 250483)
@@ -5,23 +5,23 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=3
+pkgrel=4
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 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=('bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919')
 
 build() {
 cd "${srcdir}/${_hkgname}-${pkgver}"
-
+
 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
@@ -30,11 +30,9 @@
 
 package() {
 cd "${srcdir}/${_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"
-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-byteorder/trunk (PKGBUILD)

2017-06-14 Thread Felix Yan
Date: Thursday, June 15, 2017 @ 04:54:56
  Author: felixonmars
Revision: 237000

upgpkg: haskell-byteorder 1.0.4-3

rebuild with ghc,8.0.2

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-06-15 04:53:11 UTC (rev 236999)
+++ PKGBUILD2017-06-15 04:54:56 UTC (rev 237000)
@@ -5,12 +5,12 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 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=('bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919')
 
@@ -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-byteorder/trunk (PKGBUILD)

2017-04-26 Thread Felix Yan
Date: Wednesday, April 26, 2017 @ 08:30:37
  Author: felixonmars
Revision: 225491

use https

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-04-26 08:30:33 UTC (rev 225490)
+++ PKGBUILD2017-04-26 08:30:37 UTC (rev 225491)
@@ -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=('bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919')
 
 build() {


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

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

upgpkg: haskell-byteorder 1.0.4-20: rebuild with ghc 8.10.3

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 21:06:16 UTC (rev 785242)
+++ PKGBUILD2020-12-23 21:06:37 UTC (rev 785243)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=19
+pkgrel=20
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("BSD")


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

2020-08-16 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 05:31:18
  Author: felixonmars
Revision: 682153

upgpkg: haskell-byteorder 1.0.4-18: rebuild with ghc 8.10.2

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 05:30:47 UTC (rev 682152)
+++ PKGBUILD2020-08-17 05:31:18 UTC (rev 682153)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=17
+pkgrel=18
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 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-byteorder/trunk (PKGBUILD)

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 10:46:36
  Author: felixonmars
Revision: 692636

upgpkg: haskell-byteorder 1.0.4-19: rebuild with happy 1.20.0

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-08-30 10:46:03 UTC (rev 692635)
+++ PKGBUILD2020-08-30 10:46:36 UTC (rev 692636)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=18
+pkgrel=19
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("BSD")


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

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 10:30:38
  Author: felixonmars
Revision: 617923

upgpkg: haskell-byteorder 1.0.4-17: rebuild with ghc 8.10.1

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 10:30:10 UTC (rev 617922)
+++ PKGBUILD2020-04-23 10:30:38 UTC (rev 617923)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=16
+pkgrel=17
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("BSD")


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

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 20:50:06
  Author: felixonmars
Revision: 583192

upgpkg: haskell-byteorder 1.0.4-16: rebuild with ghc 8.8.3

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 20:49:30 UTC (rev 583191)
+++ PKGBUILD2020-02-26 20:50:06 UTC (rev 583192)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=15
+pkgrel=16
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 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-byteorder/trunk (PKGBUILD)

2020-02-14 Thread Felix Yan via arch-commits
Date: Friday, February 14, 2020 @ 21:22:35
  Author: felixonmars
Revision: 571245

upgpkg: haskell-byteorder 1.0.4-15: rebuild with ghc 8.8.2

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-02-14 21:22:04 UTC (rev 571244)
+++ PKGBUILD2020-02-14 21:22:35 UTC (rev 571245)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=14
+pkgrel=15
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("BSD")


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

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

upgpkg: haskell-byteorder 1.0.4-14: rebuild with ghc 8.8.1

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 18:01:18 UTC (rev 550345)
+++ PKGBUILD2020-01-08 18:01:51 UTC (rev 550346)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=13
+pkgrel=14
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("BSD")


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

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 16:38:22
  Author: felixonmars
Revision: 260138

upgpkg: haskell-byteorder 1.0.4-5

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-09-23 16:38:10 UTC (rev 260137)
+++ PKGBUILD2017-09-23 16:38:22 UTC (rev 260138)
@@ -5,7 +5,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 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=('bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919')
+sha512sums=('970f74a394947b023ab88fa7bc713478b50565e3e9535479ec641283f18e04cb952788334b2ab38fafe723f2d398b1626af92f349abc11a6c6ca5a6974653025')
 
 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-byteorder/trunk (PKGBUILD)

2017-11-25 Thread Felix Yan via arch-commits
Date: Sunday, November 26, 2017 @ 05:23:18
  Author: felixonmars
Revision: 268547

upgpkg: haskell-byteorder 1.0.4-6

rebuild with ghc 8.2.2

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 05:22:47 UTC (rev 268546)
+++ PKGBUILD2017-11-26 05:23:18 UTC (rev 268547)
@@ -5,7 +5,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=5
+pkgrel=6
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("custom:BSD3")


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

2019-04-24 Thread Felix Yan via arch-commits
Date: Wednesday, April 24, 2019 @ 21:13:02
  Author: felixonmars
Revision: 453515

upgpkg: haskell-byteorder 1.0.4-13

rebuild with ghc 8.6.5

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-24 21:12:30 UTC (rev 453514)
+++ PKGBUILD2019-04-24 21:13:02 UTC (rev 453515)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=12
+pkgrel=13
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("BSD")


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 15:01:26
  Author: felixonmars
Revision: 438275

upgpkg: haskell-byteorder 1.0.4-12

rebuild with ghc 8.6.4

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-03-09 14:55:39 UTC (rev 438274)
+++ PKGBUILD2019-03-09 15:01:26 UTC (rev 438275)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=11
+pkgrel=12
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("BSD")


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

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 13:23:06
  Author: felixonmars
Revision: 393518

upgpkg: haskell-byteorder 1.0.4-9

rebuild with ghc 8.6.1

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 13:22:18 UTC (rev 393517)
+++ PKGBUILD2018-10-14 13:23:06 UTC (rev 393518)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=8
+pkgrel=9
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("custom:BSD3")


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

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 20:06:04
  Author: felixonmars
Revision: 413094

upgpkg: haskell-byteorder 1.0.4-11

rebuild with ghc 8.6.3

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-12-09 20:05:27 UTC (rev 413093)
+++ PKGBUILD2018-12-09 20:06:04 UTC (rev 413094)
@@ -4,10 +4,10 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=10
+pkgrel=11
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
-license=("custom:BSD3")
+license=("BSD")
 arch=('x86_64')
 depends=('ghc-libs')
 makedepends=('ghc')


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

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 18:04:22
  Author: felixonmars
Revision: 401769

upgpkg: haskell-byteorder 1.0.4-10

rebuild with ghc 8.6.1

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-06 18:03:48 UTC (rev 401768)
+++ PKGBUILD2018-11-06 18:04:22 UTC (rev 401769)
@@ -4,7 +4,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=9
+pkgrel=10
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 
sha512sums=('970f74a394947b023ab88fa7bc713478b50565e3e9535479ec641283f18e04cb952788334b2ab38fafe723f2d398b1626af92f349abc11a6c6ca5a6974653025')
 
 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-byteorder/trunk (PKGBUILD)

2018-05-16 Thread Felix Yan via arch-commits
Date: Wednesday, May 16, 2018 @ 20:47:28
  Author: felixonmars
Revision: 323253

upgpkg: haskell-byteorder 1.0.4-7

rebuild with ghc 8.4.2

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-16 20:46:52 UTC (rev 323252)
+++ PKGBUILD2018-05-16 20:47:28 UTC (rev 323253)
@@ -5,7 +5,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=6
+pkgrel=7
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("custom:BSD3")


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

2018-05-31 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 19:24:46
  Author: felixonmars
Revision: 335295

upgpkg: haskell-byteorder 1.0.4-8

rebuild with ghc 8.4.3

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-31 19:24:14 UTC (rev 335294)
+++ PKGBUILD2018-05-31 19:24:46 UTC (rev 335295)
@@ -5,7 +5,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=7
+pkgrel=8
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 license=("custom:BSD3")


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

2016-05-24 Thread Felix Yan
Date: Tuesday, May 24, 2016 @ 18:14:25
  Author: fyan
Revision: 176399

upgpkg: haskell-byteorder 1.0.4-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.2 -> 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, wai-3.2.1.1

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

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

Modified: PKGBUILD
===
--- PKGBUILD2016-05-24 16:14:15 UTC (rev 176398)
+++ PKGBUILD2016-05-24 16:14:25 UTC (rev 176399)
@@ -5,15 +5,13 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder";
 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=('bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919')
 
 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-byteorder.install
===
--- haskell-byteorder.install   2016-05-24 16:14:15 UTC (rev 176398)
+++ haskell-byteorder.install   2016-05-24 16:14:25 UTC (rev 176399)
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/haskell-byteorder
-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)
-}