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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 23:14:43
  Author: felixonmars
Revision: 785688

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-alsa-core/repos/community-staging-x86_64/
  haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD
(from rev 785687, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD (from rev 
785687, haskell-alsa-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 23:14:43 UTC (rev 785688)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=13
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Sunday, August 30, 2020 @ 11:33:41
  Author: felixonmars
Revision: 692741

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-alsa-core/repos/community-staging-x86_64/
  haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD
(from rev 692740, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD (from rev 
692740, haskell-alsa-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-30 11:33:41 UTC (rev 692741)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=12
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-alsa-core/repos/community-staging-x86_64/
  haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD
(from rev 682247, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD (from rev 
682247, haskell-alsa-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 06:06:56 UTC (rev 682248)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=11
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 11:01:21
  Author: felixonmars
Revision: 618025

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-alsa-core/repos/community-staging-x86_64/
  haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD
(from rev 618024, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD (from rev 
618024, haskell-alsa-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-23 11:01:21 UTC (rev 618025)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=10
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-alsa-core/repos/community-staging-x86_64/
  haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD
(from rev 583276, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD (from rev 
583276, haskell-alsa-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-26 21:26:08 UTC (rev 583277)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=9
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 19:49:52
  Author: felixonmars
Revision: 572805

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-alsa-core/repos/community-staging-x86_64/
  haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD
(from rev 572804, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD (from rev 
572804, haskell-alsa-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 19:49:52 UTC (rev 572805)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=8
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-01-21 Thread Felix Yan via arch-commits
Date: Wednesday, January 22, 2020 @ 07:06:21
  Author: felixonmars
Revision: 553378

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-alsa-core/repos/community-staging-x86_64/
  haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD
(from rev 553377, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-staging-x86_64/PKGBUILD (from rev 
553377, haskell-alsa-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-22 07:06:21 UTC (rev 553378)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=7
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:


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

2020-01-09 Thread Levente Polyak via arch-commits
Date: Thursday, January 9, 2020 @ 20:37:12
  Author: anthraxx
Revision: 551487

archrelease: copy trunk to community-x86_64

Added:
  haskell-alsa-core/repos/community-x86_64/
  haskell-alsa-core/repos/community-x86_64/PKGBUILD
(from rev 551486, haskell-alsa-core/trunk/PKGBUILD)

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

Copied: haskell-alsa-core/repos/community-x86_64/PKGBUILD (from rev 551486, 
haskell-alsa-core/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-01-09 20:37:12 UTC (rev 551487)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=alsa-core
+pkgname=haskell-${_hkgname}
+pkgver=0.5.0.1
+pkgrel=6
+pkgdesc='Binding to the ALSA Library API (Exceptions)'
+url='http://www.haskell.org/haskellwiki/ALSA'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'glibc' 'gmp' 'alsa-lib' 'haskell-base' 
'haskell-extensible-exceptions')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('eb50495ef05ecc7c06a0147da7f0d3efde832a44d23caaf5172dc114882270ab')
+sha512sums=('e02c8353911bf2c0c703400701ae72be6f510f771ff56dfc09322cbcf3a006f4cd0903f71f7ed2268886b3468113d5ce76933eedf5fad47aa71cb052d07fc4b4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup haddock
+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
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et: