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

2022-09-10 Thread Felix Yan via arch-commits
Date: Saturday, September 10, 2022 @ 16:07:03
  Author: felixonmars
Revision: 1299682

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1299681, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-10 16:07:03 UTC (rev 1299682)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=15
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-09-09 Thread Felix Yan via arch-commits
Date: Saturday, September 10, 2022 @ 02:49:38
  Author: felixonmars
Revision: 1298066

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1298065, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-10 02:49:38 UTC (rev 1298066)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=14
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-09-06 Thread Felix Yan via arch-commits
Date: Tuesday, September 6, 2022 @ 20:06:52
  Author: felixonmars
Revision: 1294839

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1294838, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-06 20:06:52 UTC (rev 1294839)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=13
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 11:14:03
  Author: felixonmars
Revision: 1291656

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1291655, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-03 11:14:03 UTC (rev 1291656)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=12
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Tuesday, August 30, 2022 @ 00:59:00
  Author: felixonmars
Revision: 1287383

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1287382, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-30 00:59:00 UTC (rev 1287383)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=11
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 17:41:15
  Author: felixonmars
Revision: 1283448

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1283447, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 17:41:15 UTC (rev 1283448)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=10
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 17:46:44
  Author: felixonmars
Revision: 1279621

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1279620, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 17:46:44 UTC (rev 1279621)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=9
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 10:33:03
  Author: felixonmars
Revision: 1278362

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1278361, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 10:33:03 UTC (rev 1278362)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=8
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 13:13:31
  Author: felixonmars
Revision: 1276140

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1276139, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 13:13:31 UTC (rev 1276140)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=7
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 18:53:01
  Author: felixonmars
Revision: 1273423

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1273422, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 18:53:01 UTC (rev 1273423)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=6
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 08:16:28
  Author: felixonmars
Revision: 1271894

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1271893, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 08:16:28 UTC (rev 1271894)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=5
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-19 Thread Felix Yan via arch-commits
Date: Friday, August 19, 2022 @ 09:59:15
  Author: felixonmars
Revision: 1269850

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1269849, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-19 09:59:15 UTC (rev 1269850)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=4
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 16:14:37
  Author: felixonmars
Revision: 1267611

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1267610, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 16:14:37 UTC (rev 1267611)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=3
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-15 Thread Felix Yan via arch-commits
Date: Monday, August 15, 2022 @ 21:20:24
  Author: felixonmars
Revision: 1266355

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1266354, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-15 21:20:24 UTC (rev 1266355)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=2
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-15 Thread Felix Yan via arch-commits
Date: Monday, August 15, 2022 @ 17:42:30
  Author: felixonmars
Revision: 1266196

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1266195, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-15 17:42:30 UTC (rev 1266196)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.3
+pkgrel=1
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('46b4f752395093ee5da8fe44cc22c08238961b8d1e03e767789d9143f97ddfe3')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 17:57:55
  Author: felixonmars
Revision: 1264354

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1264353, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 17:57:55 UTC (rev 1264354)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=13
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 19:41:06
  Author: felixonmars
Revision: 1262232

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1262231, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 19:41:06 UTC (rev 1262232)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=12
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 11:29:08
  Author: felixonmars
Revision: 1257640

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1257639, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 11:29:08 UTC (rev 1257640)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=11
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-15 Thread Felix Yan via arch-commits
Date: Saturday, July 16, 2022 @ 04:26:19
  Author: felixonmars
Revision: 1253674

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1253673, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-16 04:26:19 UTC (rev 1253674)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=10
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 21:14:38
  Author: felixonmars
Revision: 1251509

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1251508, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 21:14:38 UTC (rev 1251509)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=9
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-08 Thread Felix Yan via arch-commits
Date: Friday, July 8, 2022 @ 21:37:41
  Author: felixonmars
Revision: 1248887

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1248886, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-08 21:37:41 UTC (rev 1248887)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=8
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-06 Thread Felix Yan via arch-commits
Date: Thursday, July 7, 2022 @ 00:45:16
  Author: felixonmars
Revision: 1247457

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1247456, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-07 00:45:16 UTC (rev 1247457)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=7
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 21:23:48
  Author: felixonmars
Revision: 1245783

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1245782, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 21:23:48 UTC (rev 1245783)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=6
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-01 Thread Felix Yan via arch-commits
Date: Friday, July 1, 2022 @ 19:07:00
  Author: felixonmars
Revision: 1243374

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1243373, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-01 19:07:00 UTC (rev 1243374)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=5
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Thursday, June 30, 2022 @ 01:08:23
  Author: felixonmars
Revision: 1242022

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1242021, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-30 01:08:23 UTC (rev 1242022)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=4
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 09:52:56
  Author: felixonmars
Revision: 1240116

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1240115, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 09:52:56 UTC (rev 1240116)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=2
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 07:59:51
  Author: felixonmars
Revision: 1239885

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1239884, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 07:59:51 UTC (rev 1239885)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.2
+pkgrel=1
+pkgdesc="Experimental abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-strict-list'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-cereal' 
'haskell-quickcheck-instances'
+ 'haskell-rerebase' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('a5f849e9fdda08e0ccceaf2fd6ac654abdae8af1f007d62322f7e8ce45c35f0d')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Sunday, June 12, 2022 @ 05:52:43
  Author: felixonmars
Revision: 1235943

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1235942, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-12 05:52:43 UTC (rev 1235943)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=85
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 13:36:48
  Author: felixonmars
Revision: 1233673

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1233672, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 13:36:48 UTC (rev 1233673)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=84
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 06:37:36
  Author: felixonmars
Revision: 1231989

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1231988, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 06:37:36 UTC (rev 1231989)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=83
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-07 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 07:39:51
  Author: felixonmars
Revision: 1227857

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1227856, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 07:39:51 UTC (rev 1227857)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=82
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 11:37:52
  Author: felixonmars
Revision: 1226171

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1226170, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 11:37:52 UTC (rev 1226171)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=81
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 06:09:19
  Author: felixonmars
Revision: 1224519

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1224518, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 06:09:19 UTC (rev 1224519)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=80
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 19:44:39
  Author: felixonmars
Revision: 166

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 165, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-04 19:44:39 UTC (rev 166)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=79
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 12:23:40
  Author: felixonmars
Revision: 1220529

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1220528, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 12:23:40 UTC (rev 1220529)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=78
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 12:23:47
  Author: felixonmars
Revision: 1216406

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1216405, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 12:23:47 UTC (rev 1216406)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=77
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 18:07:47
  Author: felixonmars
Revision: 1212686

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1212685, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 18:07:47 UTC (rev 1212686)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=76
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-21 Thread Felix Yan via arch-commits
Date: Saturday, May 21, 2022 @ 15:44:04
  Author: felixonmars
Revision: 1209673

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1209672, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-21 15:44:04 UTC (rev 1209673)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=75
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-15 Thread Felix Yan via arch-commits
Date: Sunday, May 15, 2022 @ 06:41:29
  Author: felixonmars
Revision: 1207127

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1207126, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-15 06:41:29 UTC (rev 1207127)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=73
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 15:29:19
  Author: felixonmars
Revision: 1205151

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1205150, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 15:29:19 UTC (rev 1205151)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=71
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 09:44:41
  Author: felixonmars
Revision: 1203434

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1203433, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 09:44:41 UTC (rev 1203434)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=70
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 11:24:04
  Author: felixonmars
Revision: 1201748

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1201747, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 11:24:04 UTC (rev 1201748)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=69
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-12 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 03:25:25
  Author: felixonmars
Revision: 1199987

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1199986, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 03:25:25 UTC (rev 1199987)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=68
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 08:23:21
  Author: felixonmars
Revision: 1197180

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1197179, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 08:23:21 UTC (rev 1197180)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=66
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 06:21:08
  Author: felixonmars
Revision: 1196643

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1196642, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 06:21:08 UTC (rev 1196643)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=65
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-09 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 01:41:35
  Author: felixonmars
Revision: 1196473

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1196472, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 01:41:35 UTC (rev 1196473)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=64
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 14:05:52
  Author: felixonmars
Revision: 1194345

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1194344, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 14:05:52 UTC (rev 1194345)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=63
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 23:50:35
  Author: felixonmars
Revision: 1189266

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1189265, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 23:50:35 UTC (rev 1189266)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=62
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-10 Thread Felix Yan via arch-commits
Date: Sunday, April 10, 2022 @ 12:22:44
  Author: felixonmars
Revision: 1184799

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1184798, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 12:22:44 UTC (rev 1184799)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=61
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 21:51:23
  Author: felixonmars
Revision: 1182212

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1182211, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 21:51:23 UTC (rev 1182212)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=60
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-01 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 11:48:42
  Author: felixonmars
Revision: 1179524

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1179523, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 11:48:42 UTC (rev 1179524)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=59
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-29 Thread Felix Yan via arch-commits
Date: Tuesday, March 29, 2022 @ 08:57:00
  Author: felixonmars
Revision: 1177571

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1177570, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-29 08:57:00 UTC (rev 1177571)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=58
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-26 Thread Felix Yan via arch-commits
Date: Sunday, March 27, 2022 @ 03:19:00
  Author: felixonmars
Revision: 1177096

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1177095, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-27 03:19:00 UTC (rev 1177096)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=57
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 19:53:40
  Author: felixonmars
Revision: 1175047

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1175046, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 19:53:40 UTC (rev 1175047)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=56
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 15:43:01
  Author: felixonmars
Revision: 1174761

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1174760, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 15:43:01 UTC (rev 1174761)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=55
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 03:08:15
  Author: felixonmars
Revision: 1173675

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1173674, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 03:08:15 UTC (rev 1173675)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=54
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-22 Thread Felix Yan via arch-commits
Date: Tuesday, March 22, 2022 @ 11:12:45
  Author: felixonmars
Revision: 1170048

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1170047, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-22 11:12:45 UTC (rev 1170048)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=53
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 21:15:28
  Author: felixonmars
Revision: 1168431

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1168430, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 21:15:28 UTC (rev 1168431)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=52
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 00:17:22
  Author: felixonmars
Revision: 1166385

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1166384, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 00:17:22 UTC (rev 1166385)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=51
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 19:59:11
  Author: felixonmars
Revision: 1165200

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1165199, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 19:59:11 UTC (rev 1165200)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=50
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 21:41:54
  Author: felixonmars
Revision: 1161892

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1161891, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 21:41:54 UTC (rev 1161892)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=49
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 19:50:16
  Author: felixonmars
Revision: 1158998

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1158997, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 19:50:16 UTC (rev 1158998)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=48
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-15 Thread Felix Yan via arch-commits
Date: Tuesday, March 15, 2022 @ 17:07:57
  Author: felixonmars
Revision: 1154624

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1154623, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-15 17:07:57 UTC (rev 1154624)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=47
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 15:11:22
  Author: felixonmars
Revision: 1152930

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1152929, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 15:11:22 UTC (rev 1152930)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=46
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 20:27:44
  Author: felixonmars
Revision: 1148695

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1148694, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 20:27:44 UTC (rev 1148695)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=45
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-10 Thread Felix Yan via arch-commits
Date: Thursday, March 10, 2022 @ 18:30:43
  Author: felixonmars
Revision: 1146051

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1146050, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-10 18:30:43 UTC (rev 1146051)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=44
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-04 Thread Felix Yan via arch-commits
Date: Friday, March 4, 2022 @ 21:23:14
  Author: felixonmars
Revision: 1141863

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1141862, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-04 21:23:14 UTC (rev 1141863)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=43
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-22 Thread Felix Yan via arch-commits
Date: Tuesday, February 22, 2022 @ 17:32:23
  Author: felixonmars
Revision: 1135961

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1135960, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-22 17:32:23 UTC (rev 1135961)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=42
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-11 Thread Felix Yan via arch-commits
Date: Friday, February 11, 2022 @ 18:49:30
  Author: felixonmars
Revision: 1132168

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1132167, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-11 18:49:30 UTC (rev 1132168)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=41
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-08 Thread Felix Yan via arch-commits
Date: Tuesday, February 8, 2022 @ 17:13:47
  Author: felixonmars
Revision: 1129293

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1129292, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-08 17:13:47 UTC (rev 1129293)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=40
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 20:08:38
  Author: felixonmars
Revision: 1125901

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1125900, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 20:08:38 UTC (rev 1125901)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=39
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Thursday, February 3, 2022 @ 01:23:17
  Author: felixonmars
Revision: 1123808

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1123807, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-03 01:23:17 UTC (rev 1123808)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=38
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-28 Thread Felix Yan via arch-commits
Date: Saturday, January 29, 2022 @ 03:54:55
  Author: felixonmars
Revision: 1118817

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1118816, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-29 03:54:55 UTC (rev 1118817)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=37
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-26 Thread Felix Yan via arch-commits
Date: Wednesday, January 26, 2022 @ 15:41:22
  Author: felixonmars
Revision: 1115947

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1115946, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-26 15:41:22 UTC (rev 1115947)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=36
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-21 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 22:43:21
  Author: felixonmars
Revision: 1112868

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1112867, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 22:43:21 UTC (rev 1112868)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=35
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-19 Thread Felix Yan via arch-commits
Date: Thursday, January 20, 2022 @ 01:12:42
  Author: felixonmars
Revision: 096

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 095, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-20 01:12:42 UTC (rev 096)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=34
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-18 Thread Felix Yan via arch-commits
Date: Tuesday, January 18, 2022 @ 16:18:54
  Author: felixonmars
Revision: 1109178

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1109177, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-18 16:18:54 UTC (rev 1109178)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=33
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-15 Thread Felix Yan via arch-commits
Date: Sunday, January 16, 2022 @ 04:40:55
  Author: felixonmars
Revision: 1105805

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1105804, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-16 04:40:55 UTC (rev 1105805)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=32
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-12 Thread Felix Yan via arch-commits
Date: Wednesday, January 12, 2022 @ 15:51:14
  Author: felixonmars
Revision: 1101627

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1101626, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-12 15:51:14 UTC (rev 1101627)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=31
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-08 Thread Felix Yan via arch-commits
Date: Saturday, January 8, 2022 @ 19:18:26
  Author: felixonmars
Revision: 1097322

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1097321, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-08 19:18:26 UTC (rev 1097322)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=30
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-06 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 13:55:31
  Author: felixonmars
Revision: 1094682

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1094681, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 13:55:31 UTC (rev 1094682)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=29
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-03 Thread Felix Yan via arch-commits
Date: Tuesday, January 4, 2022 @ 00:47:27
  Author: felixonmars
Revision: 1092683

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1092682, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-04 00:47:27 UTC (rev 1092683)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=28
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-31 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 14:48:36
  Author: felixonmars
Revision: 1090330

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1090329, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 14:48:36 UTC (rev 1090330)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=27
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-30 Thread Felix Yan via arch-commits
Date: Thursday, December 30, 2021 @ 18:58:13
  Author: felixonmars
Revision: 1088765

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1088764, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-30 18:58:13 UTC (rev 1088765)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=26
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-30 Thread Felix Yan via arch-commits
Date: Thursday, December 30, 2021 @ 13:56:19
  Author: felixonmars
Revision: 1088330

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1088329, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-30 13:56:19 UTC (rev 1088330)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=25
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-29 Thread Felix Yan via arch-commits
Date: Wednesday, December 29, 2021 @ 18:01:12
  Author: felixonmars
Revision: 1087498

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1087497, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-29 18:01:12 UTC (rev 1087498)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=24
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 09:15:13
  Author: felixonmars
Revision: 1085412

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1085411, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 09:15:13 UTC (rev 1085412)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=23
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-21 Thread Felix Yan via arch-commits
Date: Tuesday, December 21, 2021 @ 14:22:44
  Author: felixonmars
Revision: 1081646

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1081645, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-21 14:22:44 UTC (rev 1081646)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=22
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-18 Thread Felix Yan via arch-commits
Date: Sunday, December 19, 2021 @ 00:54:59
  Author: felixonmars
Revision: 1078060

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1078059, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-19 00:54:59 UTC (rev 1078060)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=21
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-16 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 13:10:11
  Author: felixonmars
Revision: 1074431

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1074430, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 13:10:11 UTC (rev 1074431)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=20
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-13 Thread Felix Yan via arch-commits
Date: Monday, December 13, 2021 @ 16:26:14
  Author: felixonmars
Revision: 1071925

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1071924, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-13 16:26:14 UTC (rev 1071925)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=19
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-29 Thread Felix Yan via arch-commits
Date: Monday, November 29, 2021 @ 07:19:39
  Author: felixonmars
Revision: 1056565

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1056564, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-29 07:19:39 UTC (rev 1056565)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=18
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-18 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 22:20:44
  Author: felixonmars
Revision: 1052662

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1052661, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 22:20:44 UTC (rev 1052662)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=17
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 14:28:06
  Author: felixonmars
Revision: 1050123

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1050122, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 14:28:06 UTC (rev 1050123)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=16
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 23:45:32
  Author: felixonmars
Revision: 1046397

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1046396, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 23:45:32 UTC (rev 1046397)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=15
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-12 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 13:11:54
  Author: felixonmars
Revision: 1043695

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1043694, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 13:11:54 UTC (rev 1043695)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=14
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 04:33:30
  Author: felixonmars
Revision: 1041018

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1041017, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 04:33:30 UTC (rev 1041018)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=13
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-05 Thread Felix Yan via arch-commits
Date: Friday, November 5, 2021 @ 22:02:54
  Author: felixonmars
Revision: 1037321

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1037320, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-05 22:02:54 UTC (rev 1037321)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=12
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-03 Thread Felix Yan via arch-commits
Date: Thursday, November 4, 2021 @ 01:11:15
  Author: felixonmars
Revision: 1035861

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1035860, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-04 01:11:15 UTC (rev 1035861)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=11
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-10-22 Thread Felix Yan via arch-commits
Date: Friday, October 22, 2021 @ 16:07:12
  Author: felixonmars
Revision: 1032497

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ptr/repos/community-staging-x86_64/PKGBUILD (from rev 1032496, 
haskell-ptr/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-22 16:07:12 UTC (rev 1032497)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ptr
+pkgname=haskell-ptr
+pkgver=0.16.8.1
+pkgrel=10
+pkgdesc="Abstractions for operations on pointers"
+url="https://github.com/nikita-volkov/ptr;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-contravariant' 'haskell-profunctors' 
'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('175a55797534839c4b1dc53cdb252676e02faa1c38f46fbc9429f8ad369443c6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



  1   2   >