[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 22:19:59
  Author: felixonmars
Revision: 785498

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 785497, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
785497, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 22:19:59 UTC (rev 785498)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=8
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 $MAKEFLAGS
+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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 20:33:19
  Author: felixonmars
Revision: 693107

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 693106, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
693106, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-30 20:33:19 UTC (rev 693107)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=7
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 $MAKEFLAGS
+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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 12:38:08
  Author: felixonmars
Revision: 682583

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 682582, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
682582, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 12:38:08 UTC (rev 682583)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=6
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 $MAKEFLAGS
+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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 618396, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
618396, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-23 22:57:11 UTC (rev 618397)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=5
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 08:59:09
  Author: felixonmars
Revision: 583669

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 583668, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
583668, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 08:59:09 UTC (rev 583669)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=4
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 16:58:18
  Author: felixonmars
Revision: 571778

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 571777, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
571777, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-15 16:58:18 UTC (rev 571778)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=3
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 23:32:49
  Author: felixonmars
Revision: 550864

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 550863, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
550863, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-08 23:32:49 UTC (rev 550864)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=2
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2019-08-10 Thread Felix Yan via arch-commits
Date: Saturday, August 10, 2019 @ 21:06:05
  Author: felixonmars
Revision: 498704

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 498703, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
498703, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-10 21:06:05 UTC (rev 498704)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://github.com/jacobstanley/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0a0a98e03edb7c6ab4401a022c3e90f7598b24930cb22ba04711c3f57b8f87990c6669d5cda07196b61d36cb6e0fa8b281822fa99b199c3b78cfccd0bc3f70be')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2019-04-26 Thread Felix Yan via arch-commits
Date: Friday, April 26, 2019 @ 07:00:21
  Author: felixonmars
Revision: 454111

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 454110, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
454110, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-26 07:00:21 UTC (rev 454111)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.1
+pkgrel=6
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4b4a0267e8f84ed8ce86b47e9e02e760bbda09e7d441320ed9f9dae7f861ada25ed906a0410ef8c516b71b0ea29a1e0aa0c8ec7724ecdf889931705f000bb0d4')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2019-03-09 Thread Felix Yan via arch-commits
Date: Sunday, March 10, 2019 @ 00:50:33
  Author: felixonmars
Revision: 438839

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 438838, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
438838, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-10 00:50:33 UTC (rev 438839)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.1
+pkgrel=5
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4b4a0267e8f84ed8ce86b47e9e02e760bbda09e7d441320ed9f9dae7f861ada25ed906a0410ef8c516b71b0ea29a1e0aa0c8ec7724ecdf889931705f000bb0d4')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2018-12-09 Thread Felix Yan via arch-commits
Date: Monday, December 10, 2018 @ 00:49:50
  Author: felixonmars
Revision: 413594

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 413593, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
413593, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-10 00:49:50 UTC (rev 413594)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.1
+pkgrel=4
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4b4a0267e8f84ed8ce86b47e9e02e760bbda09e7d441320ed9f9dae7f861ada25ed906a0410ef8c516b71b0ea29a1e0aa0c8ec7724ecdf889931705f000bb0d4')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 22:01:48
  Author: felixonmars
Revision: 402301

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 402300, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
402300, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-06 22:01:48 UTC (rev 402301)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.1
+pkgrel=3
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4b4a0267e8f84ed8ce86b47e9e02e760bbda09e7d441320ed9f9dae7f861ada25ed906a0410ef8c516b71b0ea29a1e0aa0c8ec7724ecdf889931705f000bb0d4')
+
+build() {
+cd $_hkgname-$pkgver
+
+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 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
+}
+
+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 -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in haskell-unix-compat/repos (2 files)

2018-10-15 Thread Felix Yan via arch-commits
Date: Monday, October 15, 2018 @ 11:03:52
  Author: felixonmars
Revision: 394053

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 394052, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
394052, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-15 11:03:52 UTC (rev 394053)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.1
+pkgrel=2
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4b4a0267e8f84ed8ce86b47e9e02e760bbda09e7d441320ed9f9dae7f861ada25ed906a0410ef8c516b71b0ea29a1e0aa0c8ec7724ecdf889931705f000bb0d4')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+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 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
+}
+
+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"
+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-unix-compat/repos (2 files)

2018-08-25 Thread Felix Yan via arch-commits
Date: Sunday, August 26, 2018 @ 05:30:46
  Author: felixonmars
Revision: 374015

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 374014, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
374014, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-26 05:30:46 UTC (rev 374015)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4b4a0267e8f84ed8ce86b47e9e02e760bbda09e7d441320ed9f9dae7f861ada25ed906a0410ef8c516b71b0ea29a1e0aa0c8ec7724ecdf889931705f000bb0d4')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+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 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
+}
+
+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"
+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-unix-compat/repos (2 files)

2018-05-31 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 03:45:10
  Author: felixonmars
Revision: 335378

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 335377, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
335377, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-01 03:45:10 UTC (rev 335378)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.0.1
+pkgrel=3
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ef6fe0da61efe67eee188027354495420505093d12d47ce65d45e963484a55158ad5cbbff545fa00c293a67d56b1ceed51aa2529bff217b931b67c3544584a9c')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+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 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
+}
+
+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"
+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-unix-compat/repos (2 files)

2018-05-17 Thread Felix Yan via arch-commits
Date: Thursday, May 17, 2018 @ 06:22:31
  Author: felixonmars
Revision: 323293

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 323292, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
323292, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-17 06:22:31 UTC (rev 323293)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.5.0.1
+pkgrel=2
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ef6fe0da61efe67eee188027354495420505093d12d47ce65d45e963484a55158ad5cbbff545fa00c293a67d56b1ceed51aa2529bff217b931b67c3544584a9c')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+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 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
+}
+
+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"
+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-unix-compat/repos (2 files)

2017-11-26 Thread Felix Yan via arch-commits
Date: Sunday, November 26, 2017 @ 09:36:30
  Author: felixonmars
Revision: 268892

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-unix-compat/repos/community-staging-x86_64/
  haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 268891, haskell-unix-compat/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: haskell-unix-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
268891, haskell-unix-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-11-26 09:36:30 UTC (rev 268892)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Lex Black 
+# Contributor: Don Stewart 
+
+pkgname=haskell-unix-compat
+_hkgname=unix-compat
+pkgver=0.4.3.1
+pkgrel=5
+pkgdesc="Portable POSIX-compatibility layer."
+url="https://hackage.haskell.org/package/unix-compat;
+license=('BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-old-time')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ff6d7f52d1e0e21c3739831ae33b34b13815aadfce7f90efe2cfa10325b55aac982824d4cdaf112af03e8d51824d091d8781ff1caf529f02f8d251ada5c9e63b')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+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 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
+}
+
+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"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}