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

2022-08-23 Thread Felix Yan via arch-commits
Date: Tuesday, August 23, 2022 @ 10:02:53
  Author: felixonmars
Revision: 1274958

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-libffi/repos/community-staging-x86_64/
  haskell-libffi/repos/community-staging-x86_64/PKGBUILD
(from rev 1274957, haskell-libffi/trunk/PKGBUILD)

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

Copied: haskell-libffi/repos/community-staging-x86_64/PKGBUILD (from rev 
1274957, haskell-libffi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-23 10:02:53 UTC (rev 1274958)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=libffi
+pkgname=haskell-libffi
+pkgver=0.2
+pkgrel=1
+pkgdesc="A binding to libffi"
+url="http://haskell.org/haskellwiki/Library/libffi;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('cd46cf80a2040a88e12260785126247b8d230df00c90d23e32a4799de076898d1206c77f080f687f8da52e40de78a55840c38bc25d87d0f9623e04b1e37a3a7a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-ghc-bundled-libffi
+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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+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-libffi/repos (2 files)

2022-01-10 Thread Felix Yan via arch-commits
Date: Monday, January 10, 2022 @ 16:49:39
  Author: felixonmars
Revision: 1099469

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-libffi/repos/community-staging-x86_64/
  haskell-libffi/repos/community-staging-x86_64/PKGBUILD
(from rev 1099468, haskell-libffi/trunk/PKGBUILD)

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

Copied: haskell-libffi/repos/community-staging-x86_64/PKGBUILD (from rev 
1099468, haskell-libffi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-10 16:49:39 UTC (rev 1099469)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=libffi
+pkgname=haskell-libffi
+pkgver=0.1
+pkgrel=27
+pkgdesc="A binding to libffi"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
+
+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 
--ghc-option=-fllvm
+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-libffi/repos (2 files)

2021-10-11 Thread Felix Yan via arch-commits
Date: Monday, October 11, 2021 @ 16:03:59
  Author: felixonmars
Revision: 1029489

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-libffi/repos/community-staging-x86_64/
  haskell-libffi/repos/community-staging-x86_64/PKGBUILD
(from rev 1029488, haskell-libffi/trunk/PKGBUILD)

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

Copied: haskell-libffi/repos/community-staging-x86_64/PKGBUILD (from rev 
1029488, haskell-libffi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-11 16:03:59 UTC (rev 1029489)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=libffi
+pkgname=haskell-libffi
+pkgver=0.1
+pkgrel=25
+pkgdesc="A binding to libffi"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
+
+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 
--ghc-option=-fllvm
+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-libffi/repos (2 files)

2021-06-16 Thread Felix Yan via arch-commits
Date: Thursday, June 17, 2021 @ 00:35:08
  Author: felixonmars
Revision: 964499

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-libffi/repos/community-staging-x86_64/
  haskell-libffi/repos/community-staging-x86_64/PKGBUILD
(from rev 964498, haskell-libffi/trunk/PKGBUILD)

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

Copied: haskell-libffi/repos/community-staging-x86_64/PKGBUILD (from rev 
964498, haskell-libffi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-17 00:35:08 UTC (rev 964499)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=libffi
+pkgname=haskell-libffi
+pkgver=0.1
+pkgrel=24
+pkgdesc="A binding to libffi"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
+
+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-libffi/repos (2 files)

2021-06-06 Thread Felix Yan via arch-commits
Date: Sunday, June 6, 2021 @ 23:31:26
  Author: felixonmars
Revision: 956625

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-libffi/repos/community-staging-x86_64/
  haskell-libffi/repos/community-staging-x86_64/PKGBUILD
(from rev 956624, haskell-libffi/trunk/PKGBUILD)

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

Copied: haskell-libffi/repos/community-staging-x86_64/PKGBUILD (from rev 
956624, haskell-libffi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-06 23:31:26 UTC (rev 956625)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=libffi
+pkgname=haskell-libffi
+pkgver=0.1
+pkgrel=23
+pkgdesc="A binding to libffi"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
+
+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-libffi/repos (2 files)

2021-02-08 Thread Felix Yan via arch-commits
Date: Monday, February 8, 2021 @ 23:40:28
  Author: felixonmars
Revision: 850546

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-libffi/repos/community-staging-x86_64/
  haskell-libffi/repos/community-staging-x86_64/PKGBUILD
(from rev 850545, haskell-libffi/trunk/PKGBUILD)

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

Copied: haskell-libffi/repos/community-staging-x86_64/PKGBUILD (from rev 
850545, haskell-libffi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-08 23:40:28 UTC (rev 850546)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=libffi
+pkgname=haskell-libffi
+pkgver=0.1
+pkgrel=22
+pkgdesc="A binding to libffi"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ca6dcdec14f12c565c48143aed72a022960978148759d9ee2ababf6f7e008a5cb5d152d4f10a2bfef511e4e852a4b30f1bc81928b249461c0b67817b1c74e0b3')
+
+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
+}