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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:18:29
  Author: felixonmars
Revision: 796603

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
796602, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:18:29 UTC (rev 796603)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.1
+pkgrel=5
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd70a762184b714fa53fd906ac192edcf990d8ff7674be1369eace38ee750da5eb6f4c5c2b7c6e5fab980f4bee96a7de4e2e38a27702cef28875a09bde8e5dd2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 08:49:40
  Author: felixonmars
Revision: 794369

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
794368, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 08:49:40 UTC (rev 794369)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.1
+pkgrel=4
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd70a762184b714fa53fd906ac192edcf990d8ff7674be1369eace38ee750da5eb6f4c5c2b7c6e5fab980f4bee96a7de4e2e38a27702cef28875a09bde8e5dd2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 04:32:55
  Author: felixonmars
Revision: 791908

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
791907, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 04:32:55 UTC (rev 791908)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.1
+pkgrel=3
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd70a762184b714fa53fd906ac192edcf990d8ff7674be1369eace38ee750da5eb6f4c5c2b7c6e5fab980f4bee96a7de4e2e38a27702cef28875a09bde8e5dd2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 03:25:12
  Author: felixonmars
Revision: 789522

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
789521, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 03:25:12 UTC (rev 789522)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.1
+pkgrel=2
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('dd70a762184b714fa53fd906ac192edcf990d8ff7674be1369eace38ee750da5eb6f4c5c2b7c6e5fab980f4bee96a7de4e2e38a27702cef28875a09bde8e5dd2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 07:03:47
  Author: felixonmars
Revision: 786656

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
786655, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 07:03:47 UTC (rev 786656)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.0
+pkgrel=5
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fab8bbe8b184fd8a5269b63bab81078a1b67fd781be1df74908f2e5037d5240f72732a79d31b4b1c97b6d9410302955c71b584d73874094911d27ff185e5d3e2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 07:23:54
  Author: felixonmars
Revision: 783859

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
783858, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 07:23:54 UTC (rev 783859)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.0
+pkgrel=4
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fab8bbe8b184fd8a5269b63bab81078a1b67fd781be1df74908f2e5037d5240f72732a79d31b4b1c97b6d9410302955c71b584d73874094911d27ff185e5d3e2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Tuesday, December 22, 2020 @ 10:41:59
  Author: felixonmars
Revision: 781864

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
781863, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-22 10:41:59 UTC (rev 781864)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.0
+pkgrel=3
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fab8bbe8b184fd8a5269b63bab81078a1b67fd781be1df74908f2e5037d5240f72732a79d31b4b1c97b6d9410302955c71b584d73874094911d27ff185e5d3e2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 19:28:40
  Author: felixonmars
Revision: 777889

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
777888, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 19:28:40 UTC (rev 777889)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.11.0
+pkgrel=2
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fab8bbe8b184fd8a5269b63bab81078a1b67fd781be1df74908f2e5037d5240f72732a79d31b4b1c97b6d9410302955c71b584d73874094911d27ff185e5d3e2')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+}
+
+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-xcffib/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 14:05:05
  Author: felixonmars
Revision: 774308

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
774307, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 14:05:05 UTC (rev 774308)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=33
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 17:41:08
  Author: felixonmars
Revision: 764502

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
764501, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 17:41:08 UTC (rev 764502)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=32
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 17:01:32
  Author: felixonmars
Revision: 759263

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
759262, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 17:01:32 UTC (rev 759263)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=31
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 16:21:39
  Author: felixonmars
Revision: 755380

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
755379, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 16:21:39 UTC (rev 755380)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=30
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-11-07 Thread Felix Yan via arch-commits
Date: Saturday, November 7, 2020 @ 10:53:35
  Author: felixonmars
Revision: 745659

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
745658, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 10:53:35 UTC (rev 745659)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=29
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 13:03:29
  Author: felixonmars
Revision: 744205

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
744204, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 13:03:29 UTC (rev 744205)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=28
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 12:57:51
  Author: felixonmars
Revision: 739622

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
739621, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 12:57:51 UTC (rev 739622)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=27
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 08:21:09
  Author: felixonmars
Revision: 737493

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
737492, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 08:21:09 UTC (rev 737493)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=26
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 19:20:07
  Author: felixonmars
Revision: 734898

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
734897, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 19:20:07 UTC (rev 734898)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=25
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 10:05:42
  Author: felixonmars
Revision: 732295

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
732294, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 10:05:42 UTC (rev 732295)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=24
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-22 Thread Felix Yan via arch-commits
Date: Friday, October 23, 2020 @ 00:21:37
  Author: felixonmars
Revision: 730426

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
730425, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-23 00:21:37 UTC (rev 730426)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=23
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 14:39:21
  Author: felixonmars
Revision: 729191

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
729190, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 14:39:21 UTC (rev 729191)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=22
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-18 Thread Felix Yan via arch-commits
Date: Sunday, October 18, 2020 @ 11:14:00
  Author: felixonmars
Revision: 725912

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
725911, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-18 11:14:00 UTC (rev 725912)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=21
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-10 Thread Felix Yan via arch-commits
Date: Saturday, October 10, 2020 @ 08:28:41
  Author: felixonmars
Revision: 722920

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
722919, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-10 08:28:41 UTC (rev 722920)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=20
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 18:14:30
  Author: felixonmars
Revision: 720810

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
720809, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 18:14:30 UTC (rev 720810)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=19
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 16:49:48
  Author: felixonmars
Revision: 717745

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
717744, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 16:49:48 UTC (rev 717745)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=18
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 19:49:05
  Author: felixonmars
Revision: 715569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
715568, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 19:49:05 UTC (rev 715569)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=17
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-09-18 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 10:36:24
  Author: felixonmars
Revision: 709913

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
709912, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 10:36:24 UTC (rev 709913)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=16
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-09-16 Thread Felix Yan via arch-commits
Date: Wednesday, September 16, 2020 @ 07:53:09
  Author: felixonmars
Revision: 707276

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
707275, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-16 07:53:09 UTC (rev 707276)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=15
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-09-13 Thread Felix Yan via arch-commits
Date: Sunday, September 13, 2020 @ 09:50:43
  Author: felixonmars
Revision: 705058

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
705057, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-13 09:50:43 UTC (rev 705058)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=14
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-09-11 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 00:23:46
  Author: felixonmars
Revision: 702988

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
702987, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 00:23:46 UTC (rev 702988)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=13
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 23:14:24
  Author: felixonmars
Revision: 700501

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
700500, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 23:14:24 UTC (rev 700501)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=12
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 22:39:55
  Author: felixonmars
Revision: 697741

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
697740, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 22:39:55 UTC (rev 697741)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=11
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 10:30:11
  Author: felixonmars
Revision: 694108

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
694107, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 10:30:11 UTC (rev 694108)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=10
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 29, 2020 @ 01:48:41
  Author: felixonmars
Revision: 691433

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
691432, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-29 01:48:41 UTC (rev 691433)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=9
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-26 Thread Felix Yan via arch-commits
Date: Wednesday, August 26, 2020 @ 19:45:23
  Author: felixonmars
Revision: 689055

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
689054, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-26 19:45:23 UTC (rev 689055)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=8
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 18, 2020 @ 04:48:32
  Author: felixonmars
Revision: 683654

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
683653, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-18 04:48:32 UTC (rev 683654)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=7
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-16 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 08:02:39
  Author: felixonmars
Revision: 680803

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
680802, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 08:02:39 UTC (rev 680803)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=6
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-14 Thread Felix Yan via arch-commits
Date: Friday, August 14, 2020 @ 07:07:21
  Author: felixonmars
Revision: 678356

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
678355, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-14 07:07:21 UTC (rev 678356)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=5
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-12 Thread Felix Yan via arch-commits
Date: Wednesday, August 12, 2020 @ 07:41:31
  Author: felixonmars
Revision: 675622

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
675621, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-12 07:41:31 UTC (rev 675622)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=4
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-08-01 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 10:30:16
  Author: felixonmars
Revision: 667399

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
667398, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 10:30:16 UTC (rev 667399)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=2
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-07-20 Thread Felix Yan via arch-commits
Date: Tuesday, July 21, 2020 @ 04:32:23
  Author: felixonmars
Revision: 664675

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
664674, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-21 04:32:23 UTC (rev 664675)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8f62d1f21500fc0f89239eb054dd8472c9d6aa5b4b966943cbb475a0beade55b73aab1598cb2818935e6cf439eaddbf41dfee396b5c46f0ff740ea01ba9c1509')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-07-14 Thread Felix Yan via arch-commits
Date: Tuesday, July 14, 2020 @ 12:36:47
  Author: felixonmars
Revision: 663746

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
663745, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-14 12:36:47 UTC (rev 663746)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=38
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-06-29 Thread Felix Yan via arch-commits
Date: Monday, June 29, 2020 @ 13:45:45
  Author: felixonmars
Revision: 656320

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
656319, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-29 13:45:45 UTC (rev 656320)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=37
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-06-24 Thread Felix Yan via arch-commits
Date: Wednesday, June 24, 2020 @ 22:42:51
  Author: felixonmars
Revision: 652531

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
652530, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-24 22:42:51 UTC (rev 652531)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=35
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-06-18 Thread Felix Yan via arch-commits
Date: Thursday, June 18, 2020 @ 09:21:53
  Author: felixonmars
Revision: 646882

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
646881, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-18 09:21:53 UTC (rev 646882)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=34
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-06-14 Thread Felix Yan via arch-commits
Date: Sunday, June 14, 2020 @ 11:34:54
  Author: felixonmars
Revision: 644038

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
644037, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-14 11:34:54 UTC (rev 644038)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=33
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-06-10 Thread Felix Yan via arch-commits
Date: Wednesday, June 10, 2020 @ 13:15:09
  Author: felixonmars
Revision: 641414

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
641413, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-10 13:15:09 UTC (rev 641414)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=32
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-05-24 Thread Felix Yan via arch-commits
Date: Sunday, May 24, 2020 @ 14:55:03
  Author: felixonmars
Revision: 632870

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
632869, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-24 14:55:03 UTC (rev 632870)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=31
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-05-13 Thread Felix Yan via arch-commits
Date: Wednesday, May 13, 2020 @ 09:18:14
  Author: felixonmars
Revision: 627547

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
627546, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-13 09:18:14 UTC (rev 627547)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=30
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-04-24 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 17:59:58
  Author: felixonmars
Revision: 619415

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
619414, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 17:59:58 UTC (rev 619415)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=29
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-04-17 Thread Felix Yan via arch-commits
Date: Friday, April 17, 2020 @ 18:46:38
  Author: felixonmars
Revision: 615676

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
615675, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-17 18:46:38 UTC (rev 615676)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=28
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-04-08 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 8, 2020 @ 21:51:26
  Author: foutrelis
Revision: 612749

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
612748, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-08 21:51:26 UTC (rev 612749)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=27
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-04-02 Thread Felix Yan via arch-commits
Date: Thursday, April 2, 2020 @ 10:05:53
  Author: felixonmars
Revision: 609442

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
609441, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-02 10:05:53 UTC (rev 609442)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=26
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-03-30 Thread Felix Yan via arch-commits
Date: Tuesday, March 31, 2020 @ 04:50:23
  Author: felixonmars
Revision: 607569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
607568, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-31 04:50:23 UTC (rev 607569)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=25
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-03-29 Thread Felix Yan via arch-commits
Date: Sunday, March 29, 2020 @ 22:10:57
  Author: felixonmars
Revision: 606539

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
606538, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-29 22:10:57 UTC (rev 606539)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=24
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-03-28 Thread Felix Yan via arch-commits
Date: Saturday, March 28, 2020 @ 21:04:25
  Author: felixonmars
Revision: 605516

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
605515, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-28 21:04:25 UTC (rev 605516)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=23
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Monday, March 16, 2020 @ 01:29:35
  Author: felixonmars
Revision: 598960

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
598959, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-16 01:29:35 UTC (rev 598960)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=22
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-03-14 Thread Felix Yan via arch-commits
Date: Saturday, March 14, 2020 @ 23:37:03
  Author: felixonmars
Revision: 597449

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
597448, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-14 23:37:03 UTC (rev 597449)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=21
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-03-02 Thread Felix Yan via arch-commits
Date: Monday, March 2, 2020 @ 17:57:10
  Author: felixonmars
Revision: 588600

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
588599, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-02 17:57:10 UTC (rev 588600)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=20
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 19:28:11
  Author: felixonmars
Revision: 584689

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
584688, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 19:28:11 UTC (rev 584689)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=19
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 11:19:06
  Author: felixonmars
Revision: 582318

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
582317, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-26 11:19:06 UTC (rev 582318)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=18
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-23 Thread Felix Yan via arch-commits
Date: Sunday, February 23, 2020 @ 21:33:14
  Author: felixonmars
Revision: 580044

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
580043, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-23 21:33:14 UTC (rev 580044)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=17
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-17 Thread Felix Yan via arch-commits
Date: Monday, February 17, 2020 @ 11:06:55
  Author: felixonmars
Revision: 573960

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
573959, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-17 11:06:55 UTC (rev 573960)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=16
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 13:49:07
  Author: felixonmars
Revision: 572587

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
572586, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 13:49:07 UTC (rev 572587)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=15
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-13 Thread Felix Yan via arch-commits
Date: Thursday, February 13, 2020 @ 10:42:24
  Author: felixonmars
Revision: 570047

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
570046, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-13 10:42:24 UTC (rev 570047)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=14
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-11 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 12:31:55
  Author: felixonmars
Revision: 567133

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
567132, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 12:31:55 UTC (rev 567133)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=13
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-10 Thread Felix Yan via arch-commits
Date: Monday, February 10, 2020 @ 11:21:21
  Author: felixonmars
Revision: 565787

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
565786, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-10 11:21:21 UTC (rev 565787)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=12
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-08 Thread Felix Yan via arch-commits
Date: Saturday, February 8, 2020 @ 20:06:16
  Author: felixonmars
Revision: 564931

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
564930, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-08 20:06:16 UTC (rev 564931)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=11
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-08 Thread Felix Yan via arch-commits
Date: Saturday, February 8, 2020 @ 11:12:44
  Author: felixonmars
Revision: 563978

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
563977, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-08 11:12:44 UTC (rev 563978)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=10
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-02-01 Thread Felix Yan via arch-commits
Date: Sunday, February 2, 2020 @ 06:40:04
  Author: felixonmars
Revision: 561313

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
561312, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-02 06:40:04 UTC (rev 561313)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=9
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-01-30 Thread Felix Yan via arch-commits
Date: Friday, January 31, 2020 @ 00:05:42
  Author: felixonmars
Revision: 560468

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
560467, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-31 00:05:42 UTC (rev 560468)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=8
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-01-29 Thread Felix Yan via arch-commits
Date: Thursday, January 30, 2020 @ 00:23:13
  Author: felixonmars
Revision: 559367

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
559366, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-30 00:23:13 UTC (rev 559367)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=7
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-01-28 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 10:54:38
  Author: felixonmars
Revision: 557652

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
557651, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 10:54:38 UTC (rev 557652)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=6
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Monday, January 27, 2020 @ 16:32:19
  Author: felixonmars
Revision: 556188

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
556187, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-27 16:32:19 UTC (rev 556188)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=5
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-01-11 Thread Felix Yan via arch-commits
Date: Saturday, January 11, 2020 @ 18:53:52
  Author: felixonmars
Revision: 552043

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
552042, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-11 18:53:52 UTC (rev 552043)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=4
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-01-04 Thread Felix Yan via arch-commits
Date: Sunday, January 5, 2020 @ 02:20:00
  Author: felixonmars
Revision: 548726

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
548725, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-05 02:20:00 UTC (rev 548726)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=3
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2020-01-02 Thread Felix Yan via arch-commits
Date: Friday, January 3, 2020 @ 07:08:42
  Author: felixonmars
Revision: 547001

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
547000, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-03 07:08:42 UTC (rev 547001)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=2
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-12-31 Thread Felix Yan via arch-commits
Date: Wednesday, January 1, 2020 @ 07:39:22
  Author: felixonmars
Revision: 545740

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
545739, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-01 07:39:22 UTC (rev 545740)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a312d3facf4258ccc34d8908f39ebbadff126f4bad2edf99810c78b61d9e41a62364ddca724915588436336468baf85f5eb2dfd9bd1e7ebe068be92b179094f6')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-12-30 Thread Felix Yan via arch-commits
Date: Monday, December 30, 2019 @ 18:39:42
  Author: felixonmars
Revision: 544884

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
544883, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 18:39:42 UTC (rev 544884)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=28
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-12-26 Thread Felix Yan via arch-commits
Date: Thursday, December 26, 2019 @ 17:04:43
  Author: felixonmars
Revision: 542721

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
542720, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-26 17:04:43 UTC (rev 542721)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=27
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-12-25 Thread Felix Yan via arch-commits
Date: Wednesday, December 25, 2019 @ 23:06:18
  Author: felixonmars
Revision: 541398

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
541397, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-25 23:06:18 UTC (rev 541398)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=26
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-12-24 Thread Felix Yan via arch-commits
Date: Tuesday, December 24, 2019 @ 12:43:20
  Author: felixonmars
Revision: 539890

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
539889, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-24 12:43:20 UTC (rev 539890)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=25
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-12-11 Thread Felix Yan via arch-commits
Date: Thursday, December 12, 2019 @ 01:50:34
  Author: felixonmars
Revision: 537076

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
537075, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-12 01:50:34 UTC (rev 537076)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=24
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-12-02 Thread Felix Yan via arch-commits
Date: Monday, December 2, 2019 @ 20:56:26
  Author: felixonmars
Revision: 534793

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
534792, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-02 20:56:26 UTC (rev 534793)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=23
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-11-26 Thread Felix Yan via arch-commits
Date: Wednesday, November 27, 2019 @ 07:34:36
  Author: felixonmars
Revision: 533907

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
533906, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-27 07:34:36 UTC (rev 533907)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=22
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-11-23 Thread Felix Yan via arch-commits
Date: Sunday, November 24, 2019 @ 06:01:25
  Author: felixonmars
Revision: 532556

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
532555, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-24 06:01:25 UTC (rev 532556)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=21
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-11-21 Thread Felix Yan via arch-commits
Date: Thursday, November 21, 2019 @ 22:28:30
  Author: felixonmars
Revision: 531426

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
531425, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-21 22:28:30 UTC (rev 531426)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=20
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-10-18 Thread Felix Yan via arch-commits
Date: Friday, October 18, 2019 @ 21:23:46
  Author: felixonmars
Revision: 517155

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
517154, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-18 21:23:46 UTC (rev 517155)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=19
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-10-06 Thread Felix Yan via arch-commits
Date: Sunday, October 6, 2019 @ 13:26:33
  Author: felixonmars
Revision: 513357

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
513356, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-06 13:26:33 UTC (rev 513357)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=18
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-09-08 Thread Felix Yan via arch-commits
Date: Sunday, September 8, 2019 @ 06:11:33
  Author: felixonmars
Revision: 508764

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
508763, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-08 06:11:33 UTC (rev 508764)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=17
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-09-03 Thread Felix Yan via arch-commits
Date: Tuesday, September 3, 2019 @ 08:04:04
  Author: felixonmars
Revision: 507264

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
507263, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-03 08:04:04 UTC (rev 507264)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=16
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-09-01 Thread Felix Yan via arch-commits
Date: Sunday, September 1, 2019 @ 10:55:56
  Author: felixonmars
Revision: 506025

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
506024, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-01 10:55:56 UTC (rev 506025)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=15
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-08-29 Thread Felix Yan via arch-commits
Date: Thursday, August 29, 2019 @ 08:45:37
  Author: felixonmars
Revision: 504669

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
504668, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-29 08:45:37 UTC (rev 504669)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=14
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-08-28 Thread Felix Yan via arch-commits
Date: Wednesday, August 28, 2019 @ 15:04:33
  Author: felixonmars
Revision: 504244

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
504243, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-28 15:04:33 UTC (rev 504244)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=13
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-08-28 Thread Felix Yan via arch-commits
Date: Wednesday, August 28, 2019 @ 10:09:11
  Author: felixonmars
Revision: 503770

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
503769, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-28 10:09:11 UTC (rev 503770)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=12
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-08-27 Thread Felix Yan via arch-commits
Date: Tuesday, August 27, 2019 @ 11:13:54
  Author: felixonmars
Revision: 502711

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
502710, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-27 11:13:54 UTC (rev 502711)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=11
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-08-22 Thread Felix Yan via arch-commits
Date: Friday, August 23, 2019 @ 05:10:30
  Author: felixonmars
Revision: 500895

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
500894, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-23 05:10:30 UTC (rev 500895)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=10
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-08-11 Thread Felix Yan via arch-commits
Date: Sunday, August 11, 2019 @ 06:16:03
  Author: felixonmars
Revision: 498808

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
498807, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-11 06:16:03 UTC (rev 498808)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=9
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-08-01 Thread Felix Yan via arch-commits
Date: Thursday, August 1, 2019 @ 09:17:06
  Author: felixonmars
Revision: 496360

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
496359, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-01 09:17:06 UTC (rev 496360)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=8
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-07-28 Thread Felix Yan via arch-commits
Date: Sunday, July 28, 2019 @ 17:04:28
  Author: felixonmars
Revision: 493817

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
493816, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-28 17:04:28 UTC (rev 493817)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=7
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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-xcffib/repos (2 files)

2019-07-18 Thread Felix Yan via arch-commits
Date: Thursday, July 18, 2019 @ 18:42:11
  Author: felixonmars
Revision: 491822

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 
491821, haskell-xcffib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-18 18:42:11 UTC (rev 491822)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.8.1
+pkgrel=6
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib;
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 
'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0e56992f9a2b92d7ee868a08da5ddc7eb2c3ab7f145fd16d99d686066031d4e4487014f5594223353ba3ca5dc44b8d2840813a41fd94b9d5c97bfebec60b8780')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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"
+}


  1   2   3   >