[arch-commits] Commit in gitui/trunk (PKGBUILD)

2022-08-20 Thread Caleb Maclennan via arch-commits
Date: Saturday, August 20, 2022 @ 09:22:32
  Author: alerque
Revision: 1271038

upgpkg: gitui 0.21.0-1

Modified:
  gitui/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 06:07:42 UTC (rev 1271037)
+++ PKGBUILD2022-08-20 09:22:32 UTC (rev 1271038)
@@ -4,8 +4,8 @@
 # Contributor: Wesley Moore 
 
 pkgname=gitui
-pkgver=0.20.1
-pkgrel=3
+pkgver=0.21.0
+pkgrel=1
 pkgdesc='Blazing fast terminal-ui for git written in Rust'
 url='https://github.com/extrawurst/gitui'
 arch=('x86_64')
@@ -14,8 +14,8 @@
 depends=('gcc-libs' 'libgit2' 'libgit2.so' 'libxcb' 'openssl' 'zlib')
 makedepends=('cargo' 'python') # xcb crate needs python
 source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('eccec120dfd4c5c33a74d331a53f3d0c6cb7200e26b0c4c7873278eb951bc379')
-b2sums=('5954a7eac325f6e15a94380618100b52fa5e121fa12da9a99c65b2693aaec2d7ceb2bbef67529775ac8e6e2dc8529df20990c762785262e0416c84b9b0c14868')
+sha256sums=('da99defad08bd455c12398438e846aa71c160acfbcc60d06b9c852c5d7ef1d99')
+b2sums=('1fa2b255e0c3752edba209612684bc933105a6e6373f84a7baff49e0932b48febf3db67f704d1c04a1d6edbf0e55b47190a13f5415fe4f35efc0293414fff7fc')
 
 prepare() {
   cd "${pkgname}-${pkgver}"



[arch-commits] Commit in gitui/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-08-20 Thread Caleb Maclennan via arch-commits
Date: Saturday, August 20, 2022 @ 09:22:41
  Author: alerque
Revision: 1271039

archrelease: copy trunk to community-x86_64

Added:
  gitui/repos/community-x86_64/PKGBUILD
(from rev 1271038, gitui/trunk/PKGBUILD)
Deleted:
  gitui/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 09:22:32 UTC (rev 1271038)
+++ PKGBUILD2022-08-20 09:22:41 UTC (rev 1271039)
@@ -1,43 +0,0 @@
-# Maintainer: Levente Polyak 
-# Maintainer: Caleb Maclennan 
-# Contributor: Simon Hauser 
-# Contributor: Wesley Moore 
-
-pkgname=gitui
-pkgver=0.20.1
-pkgrel=2
-pkgdesc='Blazing fast terminal-ui for git written in Rust'
-url='https://github.com/extrawurst/gitui'
-arch=('x86_64')
-license=('MIT')
-# work around two libssl.so providers being in the repos by only depending on 
package for now
-depends=('gcc-libs' 'libgit2' 'libgit2.so' 'libxcb' 'openssl' 'zlib')
-makedepends=('cargo' 'python') # xcb crate needs python
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('eccec120dfd4c5c33a74d331a53f3d0c6cb7200e26b0c4c7873278eb951bc379')
-b2sums=('5954a7eac325f6e15a94380618100b52fa5e121fa12da9a99c65b2693aaec2d7ceb2bbef67529775ac8e6e2dc8529df20990c762785262e0416c84b9b0c14868')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  CFLAGS+=" -ffat-lto-objects"
-  cargo build --frozen --release
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  cargo test --frozen
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm 755 target/release/gitui -t "${pkgdir}/usr/bin/"
-  install -Dm 644 {KEY_CONFIG,README,THEMES}.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: gitui/repos/community-x86_64/PKGBUILD (from rev 1271038, 
gitui/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-20 09:22:41 UTC (rev 1271039)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Caleb Maclennan 
+# Contributor: Simon Hauser 
+# Contributor: Wesley Moore 
+
+pkgname=gitui
+pkgver=0.21.0
+pkgrel=1
+pkgdesc='Blazing fast terminal-ui for git written in Rust'
+url='https://github.com/extrawurst/gitui'
+arch=('x86_64')
+license=('MIT')
+# work around two libssl.so providers being in the repos by only depending on 
package for now
+depends=('gcc-libs' 'libgit2' 'libgit2.so' 'libxcb' 'openssl' 'zlib')
+makedepends=('cargo' 'python') # xcb crate needs python
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('da99defad08bd455c12398438e846aa71c160acfbcc60d06b9c852c5d7ef1d99')
+b2sums=('1fa2b255e0c3752edba209612684bc933105a6e6373f84a7baff49e0932b48febf3db67f704d1c04a1d6edbf0e55b47190a13f5415fe4f35efc0293414fff7fc')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  CFLAGS+=" -ffat-lto-objects"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  cargo test --frozen
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm 755 target/release/gitui -t "${pkgdir}/usr/bin/"
+  install -Dm 644 {KEY_CONFIG,README,THEMES}.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in python-fonttools/trunk (PKGBUILD)

2022-08-20 Thread Caleb Maclennan via arch-commits
Date: Saturday, August 20, 2022 @ 09:35:26
  Author: alerque
Revision: 1271040

upgpkg: python-fonttools 4.36.0-1

Modified:
  python-fonttools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 09:22:41 UTC (rev 1271039)
+++ PKGBUILD2022-08-20 09:35:26 UTC (rev 1271040)
@@ -5,7 +5,7 @@
 
 pkgname=python-fonttools
 _pyname=${pkgname#python-}
-pkgver=4.35.0
+pkgver=4.36.0
 pkgrel=1
 pkgdesc='A library to manipulate font files from Python'
 url="https://github.com/fonttools/$_pyname";
@@ -33,7 +33,7 @@
 'python-unicodedata2: for displaying the Unicode character names 
when dumping the cmap table with ttx'
 'python-zopfli: faster backend fom WOFF 1.0 web fonts compression')
 source=("$url/archive/$pkgver/$_pyname-$pkgver.tar.gz")
-sha256sums=('2765143928699462dfb4cfea09cb0be0b14ac61fe644eee662de54f4f3b00bdb')
+sha256sums=('7f48433c42351102f25e63778c702be8bed76bfa6c192c67e6d0e985c01f674e')
 
 build() {
cd "$_pyname-$pkgver"



[arch-commits] Commit in python-fonttools/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-08-20 Thread Caleb Maclennan via arch-commits
Date: Saturday, August 20, 2022 @ 09:35:35
  Author: alerque
Revision: 1271041

archrelease: copy trunk to community-x86_64

Added:
  python-fonttools/repos/community-x86_64/PKGBUILD
(from rev 1271040, python-fonttools/trunk/PKGBUILD)
Deleted:
  python-fonttools/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 09:35:26 UTC (rev 1271040)
+++ PKGBUILD2022-08-20 09:35:35 UTC (rev 1271041)
@@ -1,52 +0,0 @@
-# Maintainer: Andrzej Giniewicz 
-# Maintainer: Caleb Maclennan 
-# Contributor: Firmicus 
-# Contributor: flying sheep 
-
-pkgname=python-fonttools
-_pyname=${pkgname#python-}
-pkgver=4.35.0
-pkgrel=1
-pkgdesc='A library to manipulate font files from Python'
-url="https://github.com/fonttools/$_pyname";
-license=('MIT')
-arch=('x86_64')
-depends=('python')
-makedepends=('cython'
- 'python-'{build,installer}
- 'python-setuptools'
- 'python-wheel')
-checkdepends=('python-brotli'
-  'python-fs'
-  'python-pytest'
-  'python-ufolib2')
-optdepends=('python-brotli: to compress/decompress WOFF 2.0 web fonts'
-'python-fs: to read/write UFO source files'
-'python-lxml: faster backend for XML files reading/writing'
-'python-lz4: for graphite type tables in ttLib/tables'
-'python-matplotlib: for visualizing DesignSpaceDocument and 
resulting VariationModel'
-'python-pyqt5: for drawing glyphs with Qt’s QPainterPath'
-'python-reportlab: to drawing glyphs as PNG images'
-'python-scipy: for finding wrong contour/component order between 
different masters'
-'python-sympy: for symbolic font statistics analysis'
-'python-uharfbuzz: to use the Harfbuzz Repacker for packing 
GSUB/GPOS tables'
-'python-unicodedata2: for displaying the Unicode character names 
when dumping the cmap table with ttx'
-'python-zopfli: faster backend fom WOFF 1.0 web fonts compression')
-source=("$url/archive/$pkgver/$_pyname-$pkgver.tar.gz")
-sha256sums=('2765143928699462dfb4cfea09cb0be0b14ac61fe644eee662de54f4f3b00bdb')
-
-build() {
-   cd "$_pyname-$pkgver"
-   python -m build -wn
-}
-
-check() {
-   cd "$_pyname-$pkgver"
-   PYTHONPATH=Lib pytest
-}
-
-package() {
-   cd "$_pyname-$pkgver"
-   python -m installer -d "$pkgdir" dist/*.whl
-   install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Copied: python-fonttools/repos/community-x86_64/PKGBUILD (from rev 1271040, 
python-fonttools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-20 09:35:35 UTC (rev 1271041)
@@ -0,0 +1,52 @@
+# Maintainer: Andrzej Giniewicz 
+# Maintainer: Caleb Maclennan 
+# Contributor: Firmicus 
+# Contributor: flying sheep 
+
+pkgname=python-fonttools
+_pyname=${pkgname#python-}
+pkgver=4.36.0
+pkgrel=1
+pkgdesc='A library to manipulate font files from Python'
+url="https://github.com/fonttools/$_pyname";
+license=('MIT')
+arch=('x86_64')
+depends=('python')
+makedepends=('cython'
+ 'python-'{build,installer}
+ 'python-setuptools'
+ 'python-wheel')
+checkdepends=('python-brotli'
+  'python-fs'
+  'python-pytest'
+  'python-ufolib2')
+optdepends=('python-brotli: to compress/decompress WOFF 2.0 web fonts'
+'python-fs: to read/write UFO source files'
+'python-lxml: faster backend for XML files reading/writing'
+'python-lz4: for graphite type tables in ttLib/tables'
+'python-matplotlib: for visualizing DesignSpaceDocument and 
resulting VariationModel'
+'python-pyqt5: for drawing glyphs with Qt’s QPainterPath'
+'python-reportlab: to drawing glyphs as PNG images'
+'python-scipy: for finding wrong contour/component order between 
different masters'
+'python-sympy: for symbolic font statistics analysis'
+'python-uharfbuzz: to use the Harfbuzz Repacker for packing 
GSUB/GPOS tables'
+'python-unicodedata2: for displaying the Unicode character names 
when dumping the cmap table with ttx'
+'python-zopfli: faster backend fom WOFF 1.0 web fonts compression')
+source=("$url/archive/$pkgver/$_pyname-$pkgver.tar.gz")
+sha256sums=('7f48433c42351102f25e63778c702be8bed76bfa6c192c67e6d0e985c01f674e')
+
+build() {
+   cd "$_pyname-$pkgver"
+   python -m build -wn
+}
+
+check() {
+   cd "$_pyname-$pkgver"
+   PYTHONPATH=Lib pytest
+}
+
+package() {
+   cd "$_pyname-$pkgver"
+   python -m installer -d "$pkgdir" dist/*.whl
+   install -Dm0755 -t "$pkgdir/usr/share/licens

[arch-commits] Commit in dmd/trunk (4 files)

2022-08-20 Thread Dan Printzell via arch-commits
Date: Saturday, August 20, 2022 @ 10:18:03
  Author: wild
Revision: 1271042

upgpkg: dmd 1:2.100.1-1: Updated to 2.100.1

Added:
  dmd/trunk/keys/
  dmd/trunk/keys/pgp/
  dmd/trunk/keys/pgp/F8A26D5D7572ECA06EC7973182C52E37A8BC8393.asc
Modified:
  dmd/trunk/PKGBUILD

---+
 PKGBUILD  |   11 ++-
 keys/pgp/F8A26D5D7572ECA06EC7973182C52E37A8BC8393.asc |1 +
 2 files changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 09:35:35 UTC (rev 1271041)
+++ PKGBUILD2022-08-20 10:18:03 UTC (rev 1271042)
@@ -11,7 +11,8 @@
 pkgdesc='D programming language compiler and standard library'
 groups=('dlang' 'dlang-dmd')
 pkgbase=dmd
-pkgver=2.100.0
+pkgver=2.100.1
+_docsvers=2.100.0
 pkgrel=1
 epoch=1
 arch=('x86_64')
@@ -20,8 +21,8 @@
 source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver";
 "git+https://github.com/dlang/druntime.git#tag=v$pkgver";
 "git+https://github.com/dlang/phobos.git#tag=v$pkgver";
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz";
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig";
+
"http://downloads.dlang.org/releases/2.x/$_docsvers/dmd.$_docsvers.linux.tar.xz";
+
"http://downloads.dlang.org/releases/2.x/$_docsvers/dmd.$_docsvers.linux.tar.xz.sig";
 'dmd.conf'
 'dmd-doc.desktop')
 sha256sums=('SKIP'
@@ -33,11 +34,11 @@
 '4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
 # Key from https://dlang.org/gpg_keys.html
 validpgpkeys=('F8A26D5D7572ECA06EC7973182C52E37A8BC8393') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
+noextract=("dmd.$_docsvers.linux.tar.xz")
 
 prepare() {
 # We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
+tar xfJ "dmd.$_docsvers.linux.tar.xz" dmd2/html
 
 # Make sure the version is not -dirty
 sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d

Added: keys/pgp/F8A26D5D7572ECA06EC7973182C52E37A8BC8393.asc
===
(Binary files differ)

Index: dmd/trunk/keys/pgp/F8A26D5D7572ECA06EC7973182C52E37A8BC8393.asc
===
--- keys/pgp/F8A26D5D7572ECA06EC7973182C52E37A8BC8393.asc   2022-08-20 
09:35:35 UTC (rev 1271041)
+++ keys/pgp/F8A26D5D7572ECA06EC7973182C52E37A8BC8393.asc   2022-08-20 
10:18:03 UTC (rev 1271042)

Property changes on: 
dmd/trunk/keys/pgp/F8A26D5D7572ECA06EC7973182C52E37A8BC8393.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property


[arch-commits] Commit in dmd/repos/community-x86_64 (7 files)

2022-08-20 Thread Dan Printzell via arch-commits
Date: Saturday, August 20, 2022 @ 10:18:17
  Author: wild
Revision: 1271043

archrelease: copy trunk to community-x86_64

Added:
  dmd/repos/community-x86_64/PKGBUILD
(from rev 1271042, dmd/trunk/PKGBUILD)
  dmd/repos/community-x86_64/dmd-doc.desktop
(from rev 1271042, dmd/trunk/dmd-doc.desktop)
  dmd/repos/community-x86_64/dmd.conf
(from rev 1271042, dmd/trunk/dmd.conf)
  dmd/repos/community-x86_64/keys/
Deleted:
  dmd/repos/community-x86_64/PKGBUILD
  dmd/repos/community-x86_64/dmd-doc.desktop
  dmd/repos/community-x86_64/dmd.conf

-+
 PKGBUILD|  275 +++---
 dmd-doc.desktop |   14 +-
 dmd.conf|   10 -
 3 files changed, 150 insertions(+), 149 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 10:18:03 UTC (rev 1271042)
+++ PKGBUILD2022-08-20 10:18:17 UTC (rev 1271043)
@@ -1,137 +0,0 @@
-# Maintainer: Dan Printzell 
-# Maintainer: Filipe Laíns (FFY00) 
-# Contributor: Mihails Strasunse 
-# Contributor: Sven-Hendrik Haase 
-# Contributor: Chris Brannon 
-# Contributor: Andrea Scarpino 
-# Contributor: Anders Bergh 
-# Contributor: Alexander Fehr 
-
-pkgname=('dmd' 'dmd-docs' 'libphobos')
-pkgdesc='D programming language compiler and standard library'
-groups=('dlang' 'dlang-dmd')
-pkgbase=dmd
-pkgver=2.100.0
-pkgrel=1
-epoch=1
-arch=('x86_64')
-url='https://www.dlang.org'
-makedepends=('git' 'ldc')
-source=("git+https://github.com/dlang/dmd.git#tag=v$pkgver";
-"git+https://github.com/dlang/druntime.git#tag=v$pkgver";
-"git+https://github.com/dlang/phobos.git#tag=v$pkgver";
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz";
-
"http://downloads.dlang.org/releases/2.x/$pkgver/dmd.$pkgver.linux.tar.xz.sig";
-'dmd.conf'
-'dmd-doc.desktop')
-sha256sums=('SKIP'
-'SKIP'
-'SKIP'
-'84672e81d24e4aea62fc8693bd4260bcf35a04ad6124b2707d40b11c67502302'
-'SKIP'
-'3d639e89528fed1da90006f4dfb2b0fdc41308da5a96d953381ff4ccf257c035'
-'4b7b8722b3fa11082f0f332397b1b66c85b30ce773c43c3fedcba5768a1484b1')
-# Key from https://dlang.org/gpg_keys.html
-validpgpkeys=('F8A26D5D7572ECA06EC7973182C52E37A8BC8393') # Martin Nowak 

-noextract=("dmd.$pkgver.linux.tar.xz")
-
-prepare() {
-# We only want to extract the docs & samples, not the prebuild executables
-tar xfJ "dmd.$pkgver.linux.tar.xz" dmd2/html
-
-# Make sure the version is not -dirty
-sed -i "s/\.git/.nope/" "$srcdir"/dmd/src/build.d
-}
-
-build() {
-export DFLAGS="-link-defaultlib-shared=false $(echo -ne $LDFLAGS | cut 
-d\" -f2 | tail -c+4 | sed -e "s/,/ -L=/g" -e "s/-flto=auto/--flto=full/")"
-export HOST_DMD=ldmd2
-
-cd "$srcdir"/dmd
-# Make the build tool. Instructions from src/posix.mak
-mkdir generated
-$HOST_DMD -ofgenerated/build -g src/build.d -release -O
-# Actually build dmd
-generated/build BUILD=release HOST_DMD="$HOST_DMD" CXX="c++" 
ENABLE_RELEASE=1 DFLAGS="$DFLAGS" dmd -v $MAKEFLAGS
-
-cd "$srcdir"/druntime
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-cd "$srcdir"/phobos
-make -f posix.mak DMD="$srcdir"/dmd/generated/linux/release/*/dmd 
BUILD=release ENABLE_RELEASE=1 PIC=1
-
-# This requires object.d to compile, thus need to be after druntime is 
built
-cd "$srcdir"/dmd
-make -C docs DMD=$HOST_DMD
-}
-
-package_dmd() {
-pkgdesc="The D programming language reference compiler"
-backup=('etc/dmd.conf')
-depends=('gcc' 'libphobos')
-optdepends=(
-'dtools: collection of useful utilities for development in D'
-'gcc-multilib: to cross-compile 32-bit applications'
-'dmd-docs: documentation and sample code for D'
-)
-provides=("d-compiler=$pkgver")
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-install -Dm755 "$srcdir"/dmd/generated/linux/release/*/dmd 
"$pkgdir"/usr/bin/dmd
-
-mkdir -p "$pkgdir"/etc
-install -Dm644 "$srcdir"/dmd.conf "$pkgdir"/etc/dmd.conf
-
-mkdir -p "$pkgdir"/usr/share/man/man1
-mkdir -p "$pkgdir"/usr/share/man/man5
-cp generated/docs/man/man1/dmd.1 "$pkgdir"/usr/share/man/man1/
-cp -r generated/docs/man/man5/* "$pkgdir"/usr/share/man/man5/
-
-install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-find "$pkgdir"/usr -type f | xargs chmod 0644
-chmod 755 "$pkgdir"/usr/bin/*
-}
-
-package_dmd-docs() {
-pkgdesc="Documentation and sample code for D programming language"
-depends=('dmd')
-license=('Boost')
-
-cd "$srcdir"/dmd
-
-mkdir -p "$pkgdir"/usr/share/applications
-install -Dm644 "$srcdir"/dmd-doc.desktop 
"$pkgdir"/usr/share/applications/dmd-doc.desktop
-
-mkdir -p "$pkgdir"/usr/share/d/samples/
-cp -r samples/* "$pkgdir"/usr/share/d/samples/
-
-mkdir 

[arch-commits] Commit in python-pygit2/trunk (PKGBUILD)

2022-08-20 Thread Caleb Maclennan via arch-commits
Date: Saturday, August 20, 2022 @ 10:38:29
  Author: alerque
Revision: 1271044

upgpkg: python-pygit2 1.10.0-1

Modified:
  python-pygit2/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 10:18:17 UTC (rev 1271043)
+++ PKGBUILD2022-08-20 10:38:29 UTC (rev 1271044)
@@ -4,7 +4,7 @@
 # Contributor: Daniel Micay 
 
 pkgname=python-pygit2
-pkgver=1.9.2
+pkgver=1.10.0
 pkgrel=1
 pkgdesc='Python bindings for libgit2'
 arch=('x86_64')
@@ -11,10 +11,10 @@
 url="https://github.com/libgit2/pygit2";
 license=('GPL2')
 depends=('libgit2' 'libgit2.so' 'python-cffi' 'python-six' 
'python-cached-property')
-makedepends=('python-build' 'python-cffi' 'python-installer' 
'python-setuptools' 'git' 'python-six' 'python-wheel')
+makedepends=('cython' 'python-build' 'python-cffi' 'python-installer' 
'python-setuptools' 'git' 'python-six' 'python-wheel')
 checkdepends=('python-pytest-runner')
 source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('17064af7a824d7e4481b4b909370085da047c0d706674d4d086215da4b3ef497')
+sha256sums=('f86f76812a1eed69b4b36757ddf77a1e455d8dc508ed26550b4e4be46e5e79af')
 
 prepare() {
cd "pygit2-$pkgver"
@@ -29,7 +29,7 @@
 
 check() {
cd "pygit2-$pkgver"
-   local _pyver=$(python -c 'import sys; print(".".join(map(str, 
sys.version_info[:2])))')
+   local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_pyver" pytest
 }
 



[arch-commits] Commit in python-pygit2/repos (2 files)

2022-08-20 Thread Caleb Maclennan via arch-commits
Date: Saturday, August 20, 2022 @ 10:38:36
  Author: alerque
Revision: 1271045

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pygit2/repos/community-staging-x86_64/
  python-pygit2/repos/community-staging-x86_64/PKGBUILD
(from rev 1271044, python-pygit2/trunk/PKGBUILD)

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

Copied: python-pygit2/repos/community-staging-x86_64/PKGBUILD (from rev 
1271044, python-pygit2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-20 10:38:36 UTC (rev 1271045)
@@ -0,0 +1,39 @@
+# Maintainer: Lukas Fleischer 
+# Maintainer: Jaroslav Lichtblau 
+# Maintainer: Caleb Maclennan 
+# Contributor: Daniel Micay 
+
+pkgname=python-pygit2
+pkgver=1.10.0
+pkgrel=1
+pkgdesc='Python bindings for libgit2'
+arch=('x86_64')
+url="https://github.com/libgit2/pygit2";
+license=('GPL2')
+depends=('libgit2' 'libgit2.so' 'python-cffi' 'python-six' 
'python-cached-property')
+makedepends=('cython' 'python-build' 'python-cffi' 'python-installer' 
'python-setuptools' 'git' 'python-six' 'python-wheel')
+checkdepends=('python-pytest-runner')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('f86f76812a1eed69b4b36757ddf77a1e455d8dc508ed26550b4e4be46e5e79af')
+
+prepare() {
+   cd "pygit2-$pkgver"
+   # Disable tests that do stuff online
+   sed -i -e '/has_network/s/True/False/' test/utils.py
+}
+
+build() {
+   cd "pygit2-$pkgver"
+   python -m build -wn
+}
+
+check() {
+   cd "pygit2-$pkgver"
+   local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
+   PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_pyver" pytest
+}
+
+package() {
+   cd "pygit2-$pkgver"
+   LANG=en_US.UTF8 python -m installer -d "${pkgdir}" dist/*.whl
+}



[arch-commits] Commit in (4 files)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 12:09:18
  Author: anthraxx
Revision: 1271046

addpkg: python-pyxbe 0.0.4-2

Added:
  python-pyxbe/
  python-pyxbe/repos/
  python-pyxbe/trunk/
  python-pyxbe/trunk/PKGBUILD

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

Added: python-pyxbe/trunk/PKGBUILD
===
--- python-pyxbe/trunk/PKGBUILD (rev 0)
+++ python-pyxbe/trunk/PKGBUILD 2022-08-20 12:09:18 UTC (rev 1271046)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak 
+# Contributor: Letu Ren 
+
+_pyname=pyxbe
+pkgname=python-${_pyname}
+pkgver=0.0.4
+pkgrel=2
+pkgdesc='Library to work with XBE files, the executable file format for the 
original Xbox game console'
+url='https://github.com/mborgerson/pyxbe'
+arch=('any')
+license=('custom:MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('7af85db80b6e52a6d746ae5e9d9ef15dfff073492cd13da2ae86991469ba364663a0cbe5f53417897012fc44f1401eb905066b14132406961333bdaf0c03e102')
+b2sums=('1854cb2f12beddff4976781ebfd163458c92562b5720dd13676af0e3b78533177a678eb525a9f6076c9088ba13643dfbb07079a89b5ad43fa5fae51831fe8c1e')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}/tests
+  PYTHONPATH="${PWD}/../build/lib" pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in python-pyxbe/repos (community-any community-any/PKGBUILD)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 12:09:23
  Author: anthraxx
Revision: 1271047

archrelease: copy trunk to community-any

Added:
  python-pyxbe/repos/community-any/
  python-pyxbe/repos/community-any/PKGBUILD
(from rev 1271046, python-pyxbe/trunk/PKGBUILD)

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

Copied: python-pyxbe/repos/community-any/PKGBUILD (from rev 1271046, 
python-pyxbe/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2022-08-20 12:09:23 UTC (rev 1271047)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak 
+# Contributor: Letu Ren 
+
+_pyname=pyxbe
+pkgname=python-${_pyname}
+pkgver=0.0.4
+pkgrel=2
+pkgdesc='Library to work with XBE files, the executable file format for the 
original Xbox game console'
+url='https://github.com/mborgerson/pyxbe'
+arch=('any')
+license=('custom:MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('7af85db80b6e52a6d746ae5e9d9ef15dfff073492cd13da2ae86991469ba364663a0cbe5f53417897012fc44f1401eb905066b14132406961333bdaf0c03e102')
+b2sums=('1854cb2f12beddff4976781ebfd163458c92562b5720dd13676af0e3b78533177a678eb525a9f6076c9088ba13643dfbb07079a89b5ad43fa5fae51831fe8c1e')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}/tests
+  PYTHONPATH="${PWD}/../build/lib" pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 12:36:08
  Author: felixonmars
Revision: 1271048

addpkg: haskell-witch 1.0.0.2-1

Added:
  haskell-witch/
  haskell-witch/repos/
  haskell-witch/trunk/
  haskell-witch/trunk/PKGBUILD

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

Added: haskell-witch/trunk/PKGBUILD
===
--- haskell-witch/trunk/PKGBUILD(rev 0)
+++ haskell-witch/trunk/PKGBUILD2022-08-20 12:36:08 UTC (rev 1271048)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=witch
+pkgname=haskell-witch
+pkgver=1.0.0.2
+pkgrel=1
+pkgdesc="Convert values from one type into another"
+url="https://github.com/tfausak/witch";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('3d0658f7f843e5ebd38d4c2f184c79bcfd94a8b548ffc74625042029bf4a75a9')
+
+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=haskell-witch 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-pedantic
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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.markdown -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.markdown
+}



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

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 12:36:31
  Author: felixonmars
Revision: 1271049

archrelease: copy trunk to community-x86_64

Added:
  haskell-witch/repos/community-x86_64/
  haskell-witch/repos/community-x86_64/PKGBUILD
(from rev 1271048, haskell-witch/trunk/PKGBUILD)

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

Copied: haskell-witch/repos/community-x86_64/PKGBUILD (from rev 1271048, 
haskell-witch/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 12:36:31 UTC (rev 1271049)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=witch
+pkgname=haskell-witch
+pkgver=1.0.0.2
+pkgrel=1
+pkgdesc="Convert values from one type into another"
+url="https://github.com/tfausak/witch";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('3d0658f7f843e5ebd38d4c2f184c79bcfd94a8b548ffc74625042029bf4a75a9')
+
+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=haskell-witch 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-pedantic
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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.markdown -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.markdown
+}



[arch-commits] Commit in cython/trunk (PKGBUILD)

2022-08-20 Thread Jelle van der Waa via arch-commits
Date: Saturday, August 20, 2022 @ 12:38:07
  Author: jelle
Revision: 1271050

upgpkg: cython 0.29.32-2

Modified:
  cython/trunk/PKGBUILD

--+
 PKGBUILD |   30 --
 1 file changed, 4 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 12:36:31 UTC (rev 1271049)
+++ PKGBUILD2022-08-20 12:38:07 UTC (rev 1271050)
@@ -2,34 +2,23 @@
 # Contributor: Sergej Pupykin 
 # Contributor: Igor Scabini 
 
-pkgname=(cython cython2)
-pkgbase=cython
+pkgname=cython
 pkgver=0.29.32
-pkgrel=1
+pkgrel=2
 pkgdesc='C-Extensions for Python'
 arch=(x86_64)
 url='https://cython.org'
 license=(APACHE)
-makedepends=(python-setuptools python2-setuptools)
+makedepends=(python-setuptools)
 
source=(https://github.com/cython/cython/archive/$pkgver/$pkgbase-$pkgver.tar.gz)
 sha256sums=('3f53fbe1398666e77fd4ce388f939309a11efd273d16f20f58f0df7b03d6b4cc')
 
-prepare() {
-  cp -r cython-$pkgver cython2-$pkgver
-  find cython2-$pkgver -name '*.py' | xargs sed -e 's|/usr/bin/env 
python|/usr/bin/env python2|' -e 's|/usr/bin/python|/usr/bin/python2|' -i
-}
-
 build() {
   cd cython-$pkgver
   python setup.py build
-
-  cd ../cython2-$pkgver
-  python2 setup.py build
 }
 
-package_cython() {
-  depends=(python)
-
+package() {
   cd cython-$pkgver
   python setup.py install --root="$pkgdir" --skip-build
 
@@ -38,14 +27,3 @@
 ln -s ${f}3 "$pkgdir"/usr/bin/$f
   done
 }
-
-package_cython2() {
-  depends=(python2)
-
-  cd cython2-$pkgver
-  python2 setup.py install --root="$pkgdir" --skip-build
-
-  for f in cygdb cython cythonize; do
-mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}2
-  done
-}



[arch-commits] Commit in cython/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-08-20 Thread Jelle van der Waa via arch-commits
Date: Saturday, August 20, 2022 @ 12:38:42
  Author: jelle
Revision: 1271051

archrelease: copy trunk to community-x86_64

Added:
  cython/repos/community-x86_64/PKGBUILD
(from rev 1271050, cython/trunk/PKGBUILD)
Deleted:
  cython/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   80 ++---
 1 file changed, 29 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 12:38:07 UTC (rev 1271050)
+++ PKGBUILD2022-08-20 12:38:42 UTC (rev 1271051)
@@ -1,51 +0,0 @@
-# Maintainer: Antonio Rojas 
-# Contributor: Sergej Pupykin 
-# Contributor: Igor Scabini 
-
-pkgname=(cython cython2)
-pkgbase=cython
-pkgver=0.29.32
-pkgrel=1
-pkgdesc='C-Extensions for Python'
-arch=(x86_64)
-url='https://cython.org'
-license=(APACHE)
-makedepends=(python-setuptools python2-setuptools)
-source=(https://github.com/cython/cython/archive/$pkgver/$pkgbase-$pkgver.tar.gz)
-sha256sums=('3f53fbe1398666e77fd4ce388f939309a11efd273d16f20f58f0df7b03d6b4cc')
-
-prepare() {
-  cp -r cython-$pkgver cython2-$pkgver
-  find cython2-$pkgver -name '*.py' | xargs sed -e 's|/usr/bin/env 
python|/usr/bin/env python2|' -e 's|/usr/bin/python|/usr/bin/python2|' -i
-}
-
-build() {
-  cd cython-$pkgver
-  python setup.py build
-
-  cd ../cython2-$pkgver
-  python2 setup.py build
-}
-
-package_cython() {
-  depends=(python)
-
-  cd cython-$pkgver
-  python setup.py install --root="$pkgdir" --skip-build
-
-  for f in cygdb cython cythonize; do
-mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}3
-ln -s ${f}3 "$pkgdir"/usr/bin/$f
-  done
-}
-
-package_cython2() {
-  depends=(python2)
-
-  cd cython2-$pkgver
-  python2 setup.py install --root="$pkgdir" --skip-build
-
-  for f in cygdb cython cythonize; do
-mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}2
-  done
-}

Copied: cython/repos/community-x86_64/PKGBUILD (from rev 1271050, 
cython/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-20 12:38:42 UTC (rev 1271051)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Sergej Pupykin 
+# Contributor: Igor Scabini 
+
+pkgname=cython
+pkgver=0.29.32
+pkgrel=2
+pkgdesc='C-Extensions for Python'
+arch=(x86_64)
+url='https://cython.org'
+license=(APACHE)
+makedepends=(python-setuptools)
+source=(https://github.com/cython/cython/archive/$pkgver/$pkgbase-$pkgver.tar.gz)
+sha256sums=('3f53fbe1398666e77fd4ce388f939309a11efd273d16f20f58f0df7b03d6b4cc')
+
+build() {
+  cd cython-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd cython-$pkgver
+  python setup.py install --root="$pkgdir" --skip-build
+
+  for f in cygdb cython cythonize; do
+mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}3
+ln -s ${f}3 "$pkgdir"/usr/bin/$f
+  done
+}



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 12:40:33
  Author: felixonmars
Revision: 1271052

addpkg: haskell-bytes 0.17.2-1

Added:
  haskell-bytes/
  haskell-bytes/repos/
  haskell-bytes/trunk/
  haskell-bytes/trunk/PKGBUILD

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

Added: haskell-bytes/trunk/PKGBUILD
===
--- haskell-bytes/trunk/PKGBUILD(rev 0)
+++ haskell-bytes/trunk/PKGBUILD2022-08-20 12:40:33 UTC (rev 1271052)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytes
+pkgname=haskell-bytes
+pkgver=0.17.2
+pkgrel=1
+pkgdesc="Sharing code for serialization between binary and cereal"
+url="https://github.com/ekmett/bytes";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-binary-orphans' 'haskell-cereal' 
'haskell-hashable'
+ 'haskell-scientific' 'haskell-transformers-compat' 
'haskell-unordered-containers'
+ 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('bc55f41edad589bc0ba389e8b106d7425a87390dcd5f1371e3194a9cc2c4781a')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-bytes 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-bytes/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 12:44:32
  Author: felixonmars
Revision: 1271053

archrelease: copy trunk to community-x86_64

Added:
  haskell-bytes/repos/community-x86_64/
  haskell-bytes/repos/community-x86_64/PKGBUILD
(from rev 1271052, haskell-bytes/trunk/PKGBUILD)

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

Copied: haskell-bytes/repos/community-x86_64/PKGBUILD (from rev 1271052, 
haskell-bytes/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 12:44:32 UTC (rev 1271053)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytes
+pkgname=haskell-bytes
+pkgver=0.17.2
+pkgrel=1
+pkgdesc="Sharing code for serialization between binary and cereal"
+url="https://github.com/ekmett/bytes";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-binary-orphans' 'haskell-cereal' 
'haskell-hashable'
+ 'haskell-scientific' 'haskell-transformers-compat' 
'haskell-unordered-containers'
+ 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('bc55f41edad589bc0ba389e8b106d7425a87390dcd5f1371e3194a9cc2c4781a')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-bytes 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 qpwgraph/trunk (PKGBUILD)

2022-08-20 Thread Jonas Witschel via arch-commits
Date: Saturday, August 20, 2022 @ 12:45:58
  Author: diabonas
Revision: 1271054

upgpkg: qpwgraph 0.3.5-1: upstream release

Modified:
  qpwgraph/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 12:44:32 UTC (rev 1271053)
+++ PKGBUILD2022-08-20 12:45:58 UTC (rev 1271054)
@@ -1,6 +1,6 @@
 # Maintainer: Jonas Witschel 
 pkgname=qpwgraph
-pkgver=0.3.4
+pkgver=0.3.5
 pkgrel=1
 pkgdesc='PipeWire Graph Qt GUI Interface'
 arch=('x86_64')
@@ -10,7 +10,7 @@
 makedepends=('cmake')
 options=('debug')
 source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-sha512sums=('3c37b183c906e6e8ca884be76785f74c73003e0e372d37ddf71cebdc8f0418521f2113efcdd9ae923ec693ad15631083c92d1a83a73a740358ecdf934661dfbb')
+sha512sums=('61e813cc82009dfbedb707207ac02d8a388f20b83fa96eb1051edc7660180da05cd6fec2c69424539f371e3edb281ec7ea3eaf4038eb699e4ba00dbcb85820b5')
 
 build() {
cmake -B build -S "$pkgname-v$pkgver" -DCMAKE_BUILD_TYPE=None \



[arch-commits] Commit in qpwgraph/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-08-20 Thread Jonas Witschel via arch-commits
Date: Saturday, August 20, 2022 @ 12:46:16
  Author: diabonas
Revision: 1271055

archrelease: copy trunk to community-x86_64

Added:
  qpwgraph/repos/community-x86_64/PKGBUILD
(from rev 1271054, qpwgraph/trunk/PKGBUILD)
Deleted:
  qpwgraph/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 12:45:58 UTC (rev 1271054)
+++ PKGBUILD2022-08-20 12:46:16 UTC (rev 1271055)
@@ -1,23 +0,0 @@
-# Maintainer: Jonas Witschel 
-pkgname=qpwgraph
-pkgver=0.3.4
-pkgrel=1
-pkgdesc='PipeWire Graph Qt GUI Interface'
-arch=('x86_64')
-url='https://gitlab.freedesktop.org/rncbc/qpwgraph'
-license=('GPL')
-depends=('alsa-lib' 'pipewire' 'qt6-base' 'qt6-svg')
-makedepends=('cmake')
-options=('debug')
-source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
-sha512sums=('3c37b183c906e6e8ca884be76785f74c73003e0e372d37ddf71cebdc8f0418521f2113efcdd9ae923ec693ad15631083c92d1a83a73a740358ecdf934661dfbb')
-
-build() {
-   cmake -B build -S "$pkgname-v$pkgver" -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_WAYLAND=ON
-   cmake --build build
-}
-
-package() {
-   DESTDIR="$pkgdir" cmake --install build
-}

Copied: qpwgraph/repos/community-x86_64/PKGBUILD (from rev 1271054, 
qpwgraph/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-20 12:46:16 UTC (rev 1271055)
@@ -0,0 +1,23 @@
+# Maintainer: Jonas Witschel 
+pkgname=qpwgraph
+pkgver=0.3.5
+pkgrel=1
+pkgdesc='PipeWire Graph Qt GUI Interface'
+arch=('x86_64')
+url='https://gitlab.freedesktop.org/rncbc/qpwgraph'
+license=('GPL')
+depends=('alsa-lib' 'pipewire' 'qt6-base' 'qt6-svg')
+makedepends=('cmake')
+options=('debug')
+source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+sha512sums=('61e813cc82009dfbedb707207ac02d8a388f20b83fa96eb1051edc7660180da05cd6fec2c69424539f371e3edb281ec7ea3eaf4038eb699e4ba00dbcb85820b5')
+
+build() {
+   cmake -B build -S "$pkgname-v$pkgver" -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_WAYLAND=ON
+   cmake --build build
+}
+
+package() {
+   DESTDIR="$pkgdir" cmake --install build
+}



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 12:57:15
  Author: felixonmars
Revision: 1271056

addpkg: haskell-linear 1.21.10-1

Added:
  haskell-linear/
  haskell-linear/repos/
  haskell-linear/trunk/
  haskell-linear/trunk/PKGBUILD

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

Added: haskell-linear/trunk/PKGBUILD
===
--- haskell-linear/trunk/PKGBUILD   (rev 0)
+++ haskell-linear/trunk/PKGBUILD   2022-08-20 12:57:15 UTC (rev 1271056)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=linear
+pkgname=haskell-linear
+pkgver=1.21.10
+pkgrel=1
+pkgdesc="Linear Algebra"
+url="http://github.com/ekmett/linear/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-adjunctions' 'haskell-base-orphans' 
'haskell-bytes' 'haskell-cereal'
+ 'haskell-distributive' 'haskell-hashable' 
'haskell-indexed-traversable' 'haskell-lens'
+ 'haskell-random' 'haskell-reflection' 'haskell-semigroupoids' 
'haskell-tagged'
+ 'haskell-transformers-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-simple-reflect' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b90733227c9d4047e087a0083785e8293dc623169161c6dab12ece1ac90d7ab4')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-linear 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-herbie -ftemplate-haskell
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-linear/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 12:57:36
  Author: felixonmars
Revision: 1271057

archrelease: copy trunk to community-x86_64

Added:
  haskell-linear/repos/community-x86_64/
  haskell-linear/repos/community-x86_64/PKGBUILD
(from rev 1271056, haskell-linear/trunk/PKGBUILD)

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

Copied: haskell-linear/repos/community-x86_64/PKGBUILD (from rev 1271056, 
haskell-linear/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 12:57:36 UTC (rev 1271057)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=linear
+pkgname=haskell-linear
+pkgver=1.21.10
+pkgrel=1
+pkgdesc="Linear Algebra"
+url="http://github.com/ekmett/linear/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-adjunctions' 'haskell-base-orphans' 
'haskell-bytes' 'haskell-cereal'
+ 'haskell-distributive' 'haskell-hashable' 
'haskell-indexed-traversable' 'haskell-lens'
+ 'haskell-random' 'haskell-reflection' 'haskell-semigroupoids' 
'haskell-tagged'
+ 'haskell-transformers-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-simple-reflect' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b90733227c9d4047e087a0083785e8293dc623169161c6dab12ece1ac90d7ab4')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-linear 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-herbie -ftemplate-haskell
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 13:04:36
  Author: anthraxx
Revision: 1271058

addpkg: python-minidump 0.0.21-2

Added:
  python-minidump/
  python-minidump/repos/
  python-minidump/trunk/
  python-minidump/trunk/PKGBUILD

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

Added: python-minidump/trunk/PKGBUILD
===
--- python-minidump/trunk/PKGBUILD  (rev 0)
+++ python-minidump/trunk/PKGBUILD  2022-08-20 13:04:36 UTC (rev 1271058)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak 
+# Contributor: GI_Jack 
+
+_pyname=minidump
+pkgname=python-${_pyname}
+pkgver=0.0.21
+pkgrel=2
+pkgdesc='Python library to parse and read Microsoft minidump file format'
+url='https://github.com/skelsec/minidump'
+arch=('any')
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+source=("${url}/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d020e822a90788f787019ed4a1838f96ce9a5eb37388d07f552b2ebb2447ccffaf2446fa0741f85b927a077cefea1f14ac96052b3bd341de15dd46706d25bdb3')
+b2sums=('3a957a2b34f0d2c396973fe02b6bb8f0415b9725e5b49643fb4cbcbd63321cc94648f521f75e0a50359baa305a012651ee73551097d0dcc17ec081a8bfafff43')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in python-minidump/repos (community-any community-any/PKGBUILD)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 13:04:42
  Author: anthraxx
Revision: 1271059

archrelease: copy trunk to community-any

Added:
  python-minidump/repos/community-any/
  python-minidump/repos/community-any/PKGBUILD
(from rev 1271058, python-minidump/trunk/PKGBUILD)

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

Copied: python-minidump/repos/community-any/PKGBUILD (from rev 1271058, 
python-minidump/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2022-08-20 13:04:42 UTC (rev 1271059)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak 
+# Contributor: GI_Jack 
+
+_pyname=minidump
+pkgname=python-${_pyname}
+pkgver=0.0.21
+pkgrel=2
+pkgdesc='Python library to parse and read Microsoft minidump file format'
+url='https://github.com/skelsec/minidump'
+arch=('any')
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+source=("${url}/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d020e822a90788f787019ed4a1838f96ce9a5eb37388d07f552b2ebb2447ccffaf2446fa0741f85b927a077cefea1f14ac96052b3bd341de15dd46706d25bdb3')
+b2sums=('3a957a2b34f0d2c396973fe02b6bb8f0415b9725e5b49643fb4cbcbd63321cc94648f521f75e0a50359baa305a012651ee73551097d0dcc17ec081a8bfafff43')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in (4 files)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 13:13:02
  Author: anthraxx
Revision: 1271060

addpkg: python-arpy 2.3.0-2

Added:
  python-arpy/
  python-arpy/repos/
  python-arpy/trunk/
  python-arpy/trunk/PKGBUILD

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

Added: python-arpy/trunk/PKGBUILD
===
--- python-arpy/trunk/PKGBUILD  (rev 0)
+++ python-arpy/trunk/PKGBUILD  2022-08-20 13:13:02 UTC (rev 1271060)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak 
+# Contributor: Rafael Fontenelle 
+
+_pyname=arpy
+pkgname=python-${_pyname}
+pkgver=2.3.0
+pkgrel=2
+pkgdesc='Library for accessing ar files'
+url='https://github.com/viraptor/arpy'
+arch=('any')
+license=('custom:BSD')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('7479d713df8da3d18fe477c7ae585f476bd1b278ac7a2bb11f9834071148178f17f8a18db3189f6f946f2f3f8f444bf5239c2c01d631d1a575e86b7556d3e835')
+b2sums=('0c22127a8221e02df4814ff23ad13e43968553e4b8a8544a9ed826b57261f1b20bd35212202d02454f3cbfcb3d3ceaac092abb0c0a1b67481f0930d191a5e202')
+
+prepare() {
+  cd ${_pyname}-${pkgver}
+  head -n30 arpy.py > LICENSE
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH=build/lib pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in python-arpy/repos (community-any community-any/PKGBUILD)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 13:13:07
  Author: anthraxx
Revision: 1271061

archrelease: copy trunk to community-any

Added:
  python-arpy/repos/community-any/
  python-arpy/repos/community-any/PKGBUILD
(from rev 1271060, python-arpy/trunk/PKGBUILD)

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

Copied: python-arpy/repos/community-any/PKGBUILD (from rev 1271060, 
python-arpy/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2022-08-20 13:13:07 UTC (rev 1271061)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak 
+# Contributor: Rafael Fontenelle 
+
+_pyname=arpy
+pkgname=python-${_pyname}
+pkgver=2.3.0
+pkgrel=2
+pkgdesc='Library for accessing ar files'
+url='https://github.com/viraptor/arpy'
+arch=('any')
+license=('custom:BSD')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('7479d713df8da3d18fe477c7ae585f476bd1b278ac7a2bb11f9834071148178f17f8a18db3189f6f946f2f3f8f444bf5239c2c01d631d1a575e86b7556d3e835')
+b2sums=('0c22127a8221e02df4814ff23ad13e43968553e4b8a8544a9ed826b57261f1b20bd35212202d02454f3cbfcb3d3ceaac092abb0c0a1b67481f0930d191a5e202')
+
+prepare() {
+  cd ${_pyname}-${pkgver}
+  head -n30 arpy.py > LICENSE
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH=build/lib pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:23:34
  Author: felixonmars
Revision: 1271062

addpkg: haskell-sdl2 2.5.3.3-1

Added:
  haskell-sdl2/
  haskell-sdl2/repos/
  haskell-sdl2/trunk/
  haskell-sdl2/trunk/PKGBUILD

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

Added: haskell-sdl2/trunk/PKGBUILD
===
--- haskell-sdl2/trunk/PKGBUILD (rev 0)
+++ haskell-sdl2/trunk/PKGBUILD 2022-08-20 13:23:34 UTC (rev 1271062)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=sdl2
+pkgname=haskell-sdl2
+pkgver=2.5.3.3
+pkgrel=1
+pkgdesc="Both high- and low-level bindings to the SDL library"
+url="https://github.com/haskell-game/sdl2.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'sdl2' 'haskell-statevar' 'haskell-linear' 
'haskell-vector')
+makedepends=('ghc' 'pulseaudio' 'xorg-server-xvfb' 'haskell-weigh')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('aa860444661daffc91ccc28a044bd15200f593443c601efe4f1872680f6f1ba8')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-sdl2 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-examples -f-no-linear -f-opengl-example -frecent-ish
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  xvfb-run runhaskell Setup test
+}
+
+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-sdl2/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:24:30
  Author: felixonmars
Revision: 1271063

archrelease: copy trunk to community-x86_64

Added:
  haskell-sdl2/repos/community-x86_64/
  haskell-sdl2/repos/community-x86_64/PKGBUILD
(from rev 1271062, haskell-sdl2/trunk/PKGBUILD)

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

Copied: haskell-sdl2/repos/community-x86_64/PKGBUILD (from rev 1271062, 
haskell-sdl2/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 13:24:30 UTC (rev 1271063)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=sdl2
+pkgname=haskell-sdl2
+pkgver=2.5.3.3
+pkgrel=1
+pkgdesc="Both high- and low-level bindings to the SDL library"
+url="https://github.com/haskell-game/sdl2.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'sdl2' 'haskell-statevar' 'haskell-linear' 
'haskell-vector')
+makedepends=('ghc' 'pulseaudio' 'xorg-server-xvfb' 'haskell-weigh')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('aa860444661daffc91ccc28a044bd15200f593443c601efe4f1872680f6f1ba8')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-sdl2 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-examples -f-no-linear -f-opengl-example -frecent-ish
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  xvfb-run runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:26:37
  Author: felixonmars
Revision: 1271064

addpkg: haskell-sdl2-ttf 2.1.2-1

Added:
  haskell-sdl2-ttf/
  haskell-sdl2-ttf/repos/
  haskell-sdl2-ttf/trunk/
  haskell-sdl2-ttf/trunk/PKGBUILD

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

Added: haskell-sdl2-ttf/trunk/PKGBUILD
===
--- haskell-sdl2-ttf/trunk/PKGBUILD (rev 0)
+++ haskell-sdl2-ttf/trunk/PKGBUILD 2022-08-20 13:26:37 UTC (rev 1271064)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=sdl2-ttf
+pkgname=haskell-sdl2-ttf
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="Bindings to SDL2_ttf"
+url="https://github.com/haskell-game/sdl2-ttf";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'sdl2' 'sdl2_ttf' 'haskell-sdl2' 'haskell-th-abstraction')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('edae0e2722d2bc8ed361303804fb80d19c079ae3923ddad982da1cf4c86be349')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-sdl2-ttf --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-example
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-sdl2-ttf/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:26:57
  Author: felixonmars
Revision: 1271065

archrelease: copy trunk to community-x86_64

Added:
  haskell-sdl2-ttf/repos/community-x86_64/
  haskell-sdl2-ttf/repos/community-x86_64/PKGBUILD
(from rev 1271064, haskell-sdl2-ttf/trunk/PKGBUILD)

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

Copied: haskell-sdl2-ttf/repos/community-x86_64/PKGBUILD (from rev 1271064, 
haskell-sdl2-ttf/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 13:26:57 UTC (rev 1271065)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=sdl2-ttf
+pkgname=haskell-sdl2-ttf
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="Bindings to SDL2_ttf"
+url="https://github.com/haskell-game/sdl2-ttf";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'sdl2' 'sdl2_ttf' 'haskell-sdl2' 'haskell-th-abstraction')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('edae0e2722d2bc8ed361303804fb80d19c079ae3923ddad982da1cf4c86be349')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-sdl2-ttf --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-example
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:29:26
  Author: felixonmars
Revision: 1271066

addpkg: haskell-minimorph 0.3.0.1-1

Added:
  haskell-minimorph/
  haskell-minimorph/repos/
  haskell-minimorph/trunk/
  haskell-minimorph/trunk/PKGBUILD

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

Added: haskell-minimorph/trunk/PKGBUILD
===
--- haskell-minimorph/trunk/PKGBUILD(rev 0)
+++ haskell-minimorph/trunk/PKGBUILD2022-08-20 13:29:26 UTC (rev 1271066)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=minimorph
+pkgname=haskell-minimorph
+pkgver=0.3.0.1
+pkgrel=1
+pkgdesc="English spelling functions with an emphasis on simplicity."
+url="https://github.com/Mikolaj/minimorph";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('0ff81778ff96766114b3256eb9dc3a38816c510604976d71def45481cdf0e217')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-minimorph --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-minimorph/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:30:29
  Author: felixonmars
Revision: 1271067

archrelease: copy trunk to community-x86_64

Added:
  haskell-minimorph/repos/community-x86_64/
  haskell-minimorph/repos/community-x86_64/PKGBUILD
(from rev 1271066, haskell-minimorph/trunk/PKGBUILD)

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

Copied: haskell-minimorph/repos/community-x86_64/PKGBUILD (from rev 1271066, 
haskell-minimorph/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 13:30:29 UTC (rev 1271067)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=minimorph
+pkgname=haskell-minimorph
+pkgver=0.3.0.1
+pkgrel=1
+pkgdesc="English spelling functions with an emphasis on simplicity."
+url="https://github.com/Mikolaj/minimorph";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('0ff81778ff96766114b3256eb9dc3a38816c510604976d71def45481cdf0e217')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-minimorph --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:32:04
  Author: felixonmars
Revision: 1271068

addpkg: haskell-miniutter 0.5.1.2-1

Added:
  haskell-miniutter/
  haskell-miniutter/repos/
  haskell-miniutter/trunk/
  haskell-miniutter/trunk/PKGBUILD

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

Added: haskell-miniutter/trunk/PKGBUILD
===
--- haskell-miniutter/trunk/PKGBUILD(rev 0)
+++ haskell-miniutter/trunk/PKGBUILD2022-08-20 13:32:04 UTC (rev 1271068)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=miniutter
+pkgname=haskell-miniutter
+pkgver=0.5.1.2
+pkgrel=1
+pkgdesc="Simple English clause creation from arbitrary words"
+url="https://github.com/Mikolaj/miniutter";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-minimorph')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a68284c7731ec9430e1b4393155b8096e8c8a74861ec1e8c66286ee8655ab713')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-miniutter --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-miniutter/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:32:38
  Author: felixonmars
Revision: 1271069

archrelease: copy trunk to community-x86_64

Added:
  haskell-miniutter/repos/community-x86_64/
  haskell-miniutter/repos/community-x86_64/PKGBUILD
(from rev 1271068, haskell-miniutter/trunk/PKGBUILD)

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

Copied: haskell-miniutter/repos/community-x86_64/PKGBUILD (from rev 1271068, 
haskell-miniutter/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 13:32:38 UTC (rev 1271069)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=miniutter
+pkgname=haskell-miniutter
+pkgver=0.5.1.2
+pkgrel=1
+pkgdesc="Simple English clause creation from arbitrary words"
+url="https://github.com/Mikolaj/miniutter";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-minimorph')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a68284c7731ec9430e1b4393155b8096e8c8a74861ec1e8c66286ee8655ab713')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-miniutter --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:51:56
  Author: felixonmars
Revision: 1271070

addpkg: haskell-enummapset 0.7.0.0-1

Added:
  haskell-enummapset/
  haskell-enummapset/repos/
  haskell-enummapset/trunk/
  haskell-enummapset/trunk/PKGBUILD

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

Added: haskell-enummapset/trunk/PKGBUILD
===
--- haskell-enummapset/trunk/PKGBUILD   (rev 0)
+++ haskell-enummapset/trunk/PKGBUILD   2022-08-20 13:51:56 UTC (rev 1271070)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=enummapset
+pkgname=haskell-enummapset
+pkgver=0.7.0.0
+pkgrel=1
+pkgdesc="IntMap and IntSet with Enum keys/elements."
+url="https://github.com/Mikolaj/enummapset";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a531bcdf6422bfe58f1308af39ff304aa524c027b2213e504e18c6da153a9da4')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-enummapset --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-debug
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-enummapset/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:52:18
  Author: felixonmars
Revision: 1271071

archrelease: copy trunk to community-x86_64

Added:
  haskell-enummapset/repos/community-x86_64/
  haskell-enummapset/repos/community-x86_64/PKGBUILD
(from rev 1271070, haskell-enummapset/trunk/PKGBUILD)

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

Copied: haskell-enummapset/repos/community-x86_64/PKGBUILD (from rev 1271070, 
haskell-enummapset/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 13:52:18 UTC (rev 1271071)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=enummapset
+pkgname=haskell-enummapset
+pkgver=0.7.0.0
+pkgrel=1
+pkgdesc="IntMap and IntSet with Enum keys/elements."
+url="https://github.com/Mikolaj/enummapset";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a531bcdf6422bfe58f1308af39ff304aa524c027b2213e504e18c6da153a9da4')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-enummapset --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-debug
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:53:57
  Author: felixonmars
Revision: 1271072

addpkg: haskell-assert-failure 0.1.2.6-1

Added:
  haskell-assert-failure/
  haskell-assert-failure/repos/
  haskell-assert-failure/trunk/
  haskell-assert-failure/trunk/PKGBUILD

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

Added: haskell-assert-failure/trunk/PKGBUILD
===
--- haskell-assert-failure/trunk/PKGBUILD   (rev 0)
+++ haskell-assert-failure/trunk/PKGBUILD   2022-08-20 13:53:57 UTC (rev 
1271072)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=assert-failure
+pkgname=haskell-assert-failure
+pkgver=0.1.2.6
+pkgrel=1
+pkgdesc="Syntactic sugar improving 'assert' and 'error'"
+url="https://github.com/Mikolaj/assert-failure";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-pretty-show')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('5f808867c4353cfd7ab810e2f94c5607b5f36148f8b187e8aa1ceac74fde0ba5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-assert-failure --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-assert-failure/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 13:54:17
  Author: felixonmars
Revision: 1271073

archrelease: copy trunk to community-x86_64

Added:
  haskell-assert-failure/repos/community-x86_64/
  haskell-assert-failure/repos/community-x86_64/PKGBUILD
(from rev 1271072, haskell-assert-failure/trunk/PKGBUILD)

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

Copied: haskell-assert-failure/repos/community-x86_64/PKGBUILD (from rev 
1271072, haskell-assert-failure/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 13:54:17 UTC (rev 1271073)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=assert-failure
+pkgname=haskell-assert-failure
+pkgver=0.1.2.6
+pkgrel=1
+pkgdesc="Syntactic sugar improving 'assert' and 'error'"
+url="https://github.com/Mikolaj/assert-failure";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-pretty-show')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('5f808867c4353cfd7ab810e2f94c5607b5f36148f8b187e8aa1ceac74fde0ba5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-assert-failure --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 postgresql-old-upgrade/trunk (PKGBUILD)

2022-08-20 Thread Jan Steffens via arch-commits
Date: Saturday, August 20, 2022 @ 14:55:58
  Author: heftig
Revision: 454075

13.8-1

Modified:
  postgresql-old-upgrade/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 14:50:51 UTC (rev 454074)
+++ PKGBUILD2022-08-20 14:55:58 UTC (rev 454075)
@@ -2,9 +2,9 @@
 # Maintainer: Dan McGee 
 
 pkgname=postgresql-old-upgrade
-pkgver=13.7
+pkgver=13.8
 _majorver=${pkgver%.*}
-pkgrel=3
+pkgrel=1
 pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
 url='https://www.postgresql.org/'
 arch=('x86_64')
@@ -17,9 +17,9 @@
 'tcl: for PL/Tcl support')
 options=('debug')
 
source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
-md5sums=('dba6e30a292af33996e84a5b0a3739a4')
-sha256sums=('1b905bf4f3d83614a393b3c51fd345910fd261e4f5124a68d9a1fdd3a2a46399')
-b2sums=('2d8a505f6de4eb31cae415529eeac750a60abafcf45e7fde29043597b385a8150fac55df659f8c2ad200822e8063d388ed606dff9108d4407f9e26b893fa62f4')
+md5sums=('ec56d5c6dbff89a771d00dd7ec9d4d23')
+sha256sums=('73876fdd3a517087340458dca4ce15b8d2a4dbceb334c0441424551ae6c4cded')
+b2sums=('eb076382027a175789652a6ae8579d9b9c8856918741e8058456d22f1ef89525cff5fafe863bf615f658bc94b740b00d1268825969e37a7cefed6b5c90f402c5')
 
 # Upstream provides md5 and sha256
 



[arch-commits] Commit in postgresql-old-upgrade/repos (2 files)

2022-08-20 Thread Jan Steffens via arch-commits
Date: Saturday, August 20, 2022 @ 14:56:08
  Author: heftig
Revision: 454076

archrelease: copy trunk to testing-x86_64

Added:
  postgresql-old-upgrade/repos/testing-x86_64/
  postgresql-old-upgrade/repos/testing-x86_64/PKGBUILD
(from rev 454075, postgresql-old-upgrade/trunk/PKGBUILD)

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

Copied: postgresql-old-upgrade/repos/testing-x86_64/PKGBUILD (from rev 454075, 
postgresql-old-upgrade/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-20 14:56:08 UTC (rev 454076)
@@ -0,0 +1,68 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Dan McGee 
+
+pkgname=postgresql-old-upgrade
+pkgver=13.8
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='PostgreSQL build for migrating between major versions with pg_upgrade'
+url='https://www.postgresql.org/'
+arch=('x86_64')
+license=('custom:PostgreSQL')
+depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0' 'pam'
+ 'zlib' 'icu' 'systemd-libs' 'libldap' 'krb5' 'llvm-libs')
+makedepends=('python' 'perl' 'tcl>=8.6.0' 'systemd' 'llvm' 'clang')
+optdepends=('python: for PL/Python 3 support'
+'perl: for PL/Perl support'
+'tcl: for PL/Tcl support')
+options=('debug')
+source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2)
+md5sums=('ec56d5c6dbff89a771d00dd7ec9d4d23')
+sha256sums=('73876fdd3a517087340458dca4ce15b8d2a4dbceb334c0441424551ae6c4cded')
+b2sums=('eb076382027a175789652a6ae8579d9b9c8856918741e8058456d22f1ef89525cff5fafe863bf615f658bc94b740b00d1268825969e37a7cefed6b5c90f402c5')
+
+# Upstream provides md5 and sha256
+
+build() {
+  cd postgresql-${pkgver}
+  local configure_options=(
+--prefix=/opt/pgsql-${_majorver}
+--with-gssapi
+--with-libxml
+--with-openssl
+--with-perl
+--with-python
+--with-tcl
+--with-pam
+--without-readline
+--with-system-tzdata=/usr/share/zoneinfo
+--with-uuid=e2fs
+--with-icu
+--with-systemd
+--with-ldap
+--with-llvm
+--without-libxslt
+--disable-nls
+--enable-thread-safety
+--disable-rpath
+  )
+
+  # Fix static libs
+  CFLAGS+=" -ffat-lto-objects"
+
+  ./configure "${configure_options[@]}"
+  make -C src all
+  make -C contrib all
+}
+
+package() {
+  cd postgresql-${pkgver}
+
+  # install
+  make -C src DESTDIR="${pkgdir}" install
+  make -C contrib DESTDIR="${pkgdir}" install
+
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in (4 files)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 16:12:46
  Author: anthraxx
Revision: 1271075

addpkg: python-pyaxmlparser 0.3.27-1

Added:
  python-pyaxmlparser/
  python-pyaxmlparser/repos/
  python-pyaxmlparser/trunk/
  python-pyaxmlparser/trunk/PKGBUILD

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

Added: python-pyaxmlparser/trunk/PKGBUILD
===
--- python-pyaxmlparser/trunk/PKGBUILD  (rev 0)
+++ python-pyaxmlparser/trunk/PKGBUILD  2022-08-20 16:12:46 UTC (rev 1271075)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak 
+
+_pyname=pyaxmlparser
+pkgname=python-${_pyname}
+pkgver=0.3.27
+pkgrel=1
+pkgdesc='Parser for Android XML file and get Application Name without using 
Androguard'
+url='https://github.com/appknox/pyaxmlparser'
+arch=('any')
+license=('Apache')
+depends=('python' 'python-lxml' 'python-click' 'python-asn1crypto' 
'python-magic')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('816caa495da50d19bc091477ad8d1b914594b679a2bad284317762a47d68813e7b68c7f22a5515c71eb67b98c26b79c923393451dd97ec5c56b310e49da3edda')
+b2sums=('cc8308bd5ca42994858a850960fb025a12bb0dd7d3051c3fd433363be3f39a46abf46d0e0af58183389da6145a4777a39008e20e9ec717a6b2c6c64d2f7f58dc')
+
+prepare() {
+  cd ${_pyname}-${pkgver}
+  sed -i "s|man/man1|share/man/man1|g" -i setup.py
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH=build/lib pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in python-pyaxmlparser/repos (2 files)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 16:14:14
  Author: anthraxx
Revision: 1271076

archrelease: copy trunk to community-any

Added:
  python-pyaxmlparser/repos/community-any/
  python-pyaxmlparser/repos/community-any/PKGBUILD
(from rev 1271075, python-pyaxmlparser/trunk/PKGBUILD)

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

Copied: python-pyaxmlparser/repos/community-any/PKGBUILD (from rev 1271075, 
python-pyaxmlparser/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2022-08-20 16:14:14 UTC (rev 1271076)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak 
+
+_pyname=pyaxmlparser
+pkgname=python-${_pyname}
+pkgver=0.3.27
+pkgrel=1
+pkgdesc='Parser for Android XML file and get Application Name without using 
Androguard'
+url='https://github.com/appknox/pyaxmlparser'
+arch=('any')
+license=('Apache')
+depends=('python' 'python-lxml' 'python-click' 'python-asn1crypto' 
'python-magic')
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('816caa495da50d19bc091477ad8d1b914594b679a2bad284317762a47d68813e7b68c7f22a5515c71eb67b98c26b79c923393451dd97ec5c56b310e49da3edda')
+b2sums=('cc8308bd5ca42994858a850960fb025a12bb0dd7d3051c3fd433363be3f39a46abf46d0e0af58183389da6145a4777a39008e20e9ec717a6b2c6c64d2f7f58dc')
+
+prepare() {
+  cd ${_pyname}-${pkgver}
+  sed -i "s|man/man1|share/man/man1|g" -i setup.py
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH=build/lib pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in (4 files)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 16:33:38
  Author: anthraxx
Revision: 1271077

addpkg: python-cle 9.2.14-1

Added:
  python-cle/
  python-cle/repos/
  python-cle/trunk/
  python-cle/trunk/PKGBUILD

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

Added: python-cle/trunk/PKGBUILD
===
--- python-cle/trunk/PKGBUILD   (rev 0)
+++ python-cle/trunk/PKGBUILD   2022-08-20 16:33:38 UTC (rev 1271077)
@@ -0,0 +1,51 @@
+# Maintainer: Levente Polyak 
+# Contributor: Xeonacid 
+
+_pyname=cle
+pkgname=python-${_pyname}
+pkgver=9.2.14
+_testbinaries_ver=9.2.14
+pkgrel=1
+pkgdesc='Loads binaries and their libraries, resolves imports and provides an 
abstraction of process memory'
+url='https://github.com/angr/cle'
+arch=('any')
+license=('custom:BSD')
+depends=('python' 'python-pyelftools' 'python-cffi' 'python-pyvex' 
'python-pefile' 'python-sortedcontainers')
+optdepends=(
+  'python-claripy: symbolic constraints'
+  'python-minidump: minidump'
+  'python-pyxbe: xbe'
+  'python-arpy: ar'
+  'python-pyaxmlparser: apk'
+)
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest' 'python-minidump' 'python-pyxbe' 'python-arpy' 
'python-claripy' 'python-pyaxmlparser')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+
"https://github.com/angr/binaries/archive/v${_testbinaries_ver}/angr-binaries-${_testbinaries_ver}.tar.gz";)
+sha512sums=('8ef7f562485f7bf8a56e89fdfbea776892a49c49651a8d8823177527d2d95d2a2975e3b914cbf43555263f38f70e9fe40e73d9da8a12863c5859f7855864ca94'
+
'18de5a475e397f6c2016c28dce89699d346c0526be7c7982ae6a4b4b66dfc3504e714b73abe5384e8e34393c81aab2f3badec1cd9d5db2f79aa351c47f97d475')
+b2sums=('a147ce8bf9bf3c38e2cc3d23782c17acb55cb7ff54a0c9d0d6a22911282f380637fb2efbb92a8b498bea49e86d22242a99abea41794d2be18e959ec4077ea3e1'
+
'21d55d13b895a1498f67d3162f83e973d29dae8bff3f5c45e0de198b3afa7a5a77bdc9cd4282913a08273b5b0698c5adacf69e30942eb56b1bf82c610b58203d')
+
+prepare() {
+  ln -s binaries-${_testbinaries_ver} binaries
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH=build/lib pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in python-cle/repos (community-any community-any/PKGBUILD)

2022-08-20 Thread Levente Polyak via arch-commits
Date: Saturday, August 20, 2022 @ 16:33:44
  Author: anthraxx
Revision: 1271078

archrelease: copy trunk to community-any

Added:
  python-cle/repos/community-any/
  python-cle/repos/community-any/PKGBUILD
(from rev 1271077, python-cle/trunk/PKGBUILD)

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

Copied: python-cle/repos/community-any/PKGBUILD (from rev 1271077, 
python-cle/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2022-08-20 16:33:44 UTC (rev 1271078)
@@ -0,0 +1,51 @@
+# Maintainer: Levente Polyak 
+# Contributor: Xeonacid 
+
+_pyname=cle
+pkgname=python-${_pyname}
+pkgver=9.2.14
+_testbinaries_ver=9.2.14
+pkgrel=1
+pkgdesc='Loads binaries and their libraries, resolves imports and provides an 
abstraction of process memory'
+url='https://github.com/angr/cle'
+arch=('any')
+license=('custom:BSD')
+depends=('python' 'python-pyelftools' 'python-cffi' 'python-pyvex' 
'python-pefile' 'python-sortedcontainers')
+optdepends=(
+  'python-claripy: symbolic constraints'
+  'python-minidump: minidump'
+  'python-pyxbe: xbe'
+  'python-arpy: ar'
+  'python-pyaxmlparser: apk'
+)
+makedepends=('python-build' 'python-installer' 'python-wheel' 
'python-setuptools')
+checkdepends=('python-pytest' 'python-minidump' 'python-pyxbe' 'python-arpy' 
'python-claripy' 'python-pyaxmlparser')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
+
"https://github.com/angr/binaries/archive/v${_testbinaries_ver}/angr-binaries-${_testbinaries_ver}.tar.gz";)
+sha512sums=('8ef7f562485f7bf8a56e89fdfbea776892a49c49651a8d8823177527d2d95d2a2975e3b914cbf43555263f38f70e9fe40e73d9da8a12863c5859f7855864ca94'
+
'18de5a475e397f6c2016c28dce89699d346c0526be7c7982ae6a4b4b66dfc3504e714b73abe5384e8e34393c81aab2f3badec1cd9d5db2f79aa351c47f97d475')
+b2sums=('a147ce8bf9bf3c38e2cc3d23782c17acb55cb7ff54a0c9d0d6a22911282f380637fb2efbb92a8b498bea49e86d22242a99abea41794d2be18e959ec4077ea3e1'
+
'21d55d13b895a1498f67d3162f83e973d29dae8bff3f5c45e0de198b3afa7a5a77bdc9cd4282913a08273b5b0698c5adacf69e30942eb56b1bf82c610b58203d')
+
+prepare() {
+  ln -s binaries-${_testbinaries_ver} binaries
+}
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH=build/lib pytest
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in caprine/trunk (PKGBUILD caprine.js)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 16:38:44
  Author: freswa
Revision: 1271079

upgpkg: caprine 2.56.0-1

Modified:
  caprine/trunk/PKGBUILD
  caprine/trunk/caprine.js

+
 PKGBUILD   |   13 +++--
 caprine.js |2 +-
 2 files changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 16:33:44 UTC (rev 1271078)
+++ PKGBUILD2022-08-20 16:38:44 UTC (rev 1271079)
@@ -1,14 +1,15 @@
-# Maintainer: Nicola Squartini 
+# Maintainer: Frederik Schwan 
+# Contributor: Nicola Squartini 
 
 pkgname=caprine
-pkgver=2.55.7
-_commit=ed0105c4ea901b57f61cf010341089548fec32cb
-pkgrel=2
+pkgver=2.56.0
+_commit=91f48da52274ea51b34360a374d06d514592fc6b
+pkgrel=1
 pkgdesc='Elegant Facebook Messenger desktop app'
 arch=('any')
 url='https://github.com/sindresorhus/caprine'
 license=('MIT')
-depends=('electron13')
+depends=('electron')
 makedepends=('git' 'npm')
 options=(!emptydirs)
 source=("git+https://github.com/sindresorhus/caprine.git#commit=${_commit}";
@@ -16,7 +17,7 @@
 'caprine.js')
 sha256sums=('SKIP'
 'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
-'93bf95cb916e3c6f8e44b598f3813fbdc63cc64f65cb376a4d08a5d574c6b3b4')
+'76bc862279afe9250554b8b6cdafde529648285e72b6a88d75403ef6b29c571c')
 
 build() {
 cd ${pkgname}

Modified: caprine.js
===
--- caprine.js  2022-08-20 16:33:44 UTC (rev 1271078)
+++ caprine.js  2022-08-20 16:38:44 UTC (rev 1271079)
@@ -1,4 +1,4 @@
-#!/usr/bin/electron13
+#!/usr/bin/electron
 
 const name = 'caprine';
 



[arch-commits] Commit in caprine/repos/community-any (6 files)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 16:38:48
  Author: freswa
Revision: 1271080

archrelease: copy trunk to community-any

Added:
  caprine/repos/community-any/PKGBUILD
(from rev 1271079, caprine/trunk/PKGBUILD)
  caprine/repos/community-any/caprine.desktop
(from rev 1271079, caprine/trunk/caprine.desktop)
  caprine/repos/community-any/caprine.js
(from rev 1271079, caprine/trunk/caprine.js)
Deleted:
  caprine/repos/community-any/PKGBUILD
  caprine/repos/community-any/caprine.desktop
  caprine/repos/community-any/caprine.js

-+
 PKGBUILD|  125 +++---
 caprine.desktop |   18 +++
 caprine.js  |   58 -
 3 files changed, 101 insertions(+), 100 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 16:38:44 UTC (rev 1271079)
+++ PKGBUILD2022-08-20 16:38:48 UTC (rev 1271080)
@@ -1,62 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=caprine
-pkgver=2.55.7
-_commit=ed0105c4ea901b57f61cf010341089548fec32cb
-pkgrel=2
-pkgdesc='Elegant Facebook Messenger desktop app'
-arch=('any')
-url='https://github.com/sindresorhus/caprine'
-license=('MIT')
-depends=('electron13')
-makedepends=('git' 'npm')
-options=(!emptydirs)
-source=("git+https://github.com/sindresorhus/caprine.git#commit=${_commit}";
-'caprine.desktop'
-'caprine.js')
-sha256sums=('SKIP'
-'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
-'93bf95cb916e3c6f8e44b598f3813fbdc63cc64f65cb376a4d08a5d574c6b3b4')
-
-build() {
-cd ${pkgname}
-
-npm install --ignore-scripts
-npx tsc
-rm -r node_modules
-npm install --ignore-scripts --production
-}
-
-package() {
-cd ${pkgname}
-
-appdir=/usr/lib/${pkgname}
-
-install -d "${pkgdir}"${appdir}
-cp -r * "${pkgdir}"${appdir}
-
-install -dm755 "${pkgdir}/usr/share/pixmaps"
-install -m644 build/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-
-install -Dm755 "${srcdir}"/${pkgname}.js "${pkgdir}"/usr/bin/${pkgname}
-install -Dm644 "${srcdir}"/${pkgname}.desktop \
-"${pkgdir}"/usr/share/applications/${pkgname}.desktop
-
-install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
-ln -s $(realpath -m --relative-to=/usr/share/licenses/${pkgname} 
${appdir}/license) \
-"${pkgdir}"/usr/share/licenses/${pkgname}
-
-# Clean up
-rm -r "${pkgdir}"${appdir}/{build,source,tsconfig.json}
-find "${pkgdir}"${appdir} \
--name "package.json" \
--exec sed -e "s|${srcdir}/${pkgname}|${appdir}|" \
--i {} \; \
--or -name ".*" -prune -exec rm -r '{}' \; \
--or -name "bin" -prune -exec rm -r '{}' \; \
--or -name "example" -prune -exec rm -r '{}' \; \
--or -name "examples" -prune -exec rm -r '{}' \; \
--or -name "man" -prune -exec rm -r '{}' \; \
--or -name "scripts" -prune -exec rm -r '{}' \; \
--or -name "test" -prune -exec rm -r '{}' \;
-}

Copied: caprine/repos/community-any/PKGBUILD (from rev 1271079, 
caprine/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-20 16:38:48 UTC (rev 1271080)
@@ -0,0 +1,63 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Nicola Squartini 
+
+pkgname=caprine
+pkgver=2.56.0
+_commit=91f48da52274ea51b34360a374d06d514592fc6b
+pkgrel=1
+pkgdesc='Elegant Facebook Messenger desktop app'
+arch=('any')
+url='https://github.com/sindresorhus/caprine'
+license=('MIT')
+depends=('electron')
+makedepends=('git' 'npm')
+options=(!emptydirs)
+source=("git+https://github.com/sindresorhus/caprine.git#commit=${_commit}";
+'caprine.desktop'
+'caprine.js')
+sha256sums=('SKIP'
+'ddb693c06b0d4adf41c799fd4d97c2d9c106669034f69f7af53a63cc45911a97'
+'76bc862279afe9250554b8b6cdafde529648285e72b6a88d75403ef6b29c571c')
+
+build() {
+cd ${pkgname}
+
+npm install --ignore-scripts
+npx tsc
+rm -r node_modules
+npm install --ignore-scripts --production
+}
+
+package() {
+cd ${pkgname}
+
+appdir=/usr/lib/${pkgname}
+
+install -d "${pkgdir}"${appdir}
+cp -r * "${pkgdir}"${appdir}
+
+install -dm755 "${pkgdir}/usr/share/pixmaps"
+install -m644 build/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+
+install -Dm755 "${srcdir}"/${pkgname}.js "${pkgdir}"/usr/bin/${pkgname}
+install -Dm644 "${srcdir}"/${pkgname}.desktop \
+"${pkgdir}"/usr/share/applications/${pkgname}.desktop
+
+install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
+ln -s $(realpath -m --relative-to=/usr/share/licenses/${pkgname} 
${appdir}/license) \
+"${pkgdir}"/usr/share/licenses/${pkgname}
+
+# Clean up
+rm -r "${pkgdir}"${appdir}/{build,source,tsconfig.json}
+find "${pkgdir}"${appdir} \
+-name "packa

[arch-commits] Commit in asar/trunk (PKGBUILD)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 16:43:21
  Author: svenstaro
Revision: 1271081

upgpkg: asar 3.2.0-1

Modified:
  asar/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 16:38:48 UTC (rev 1271080)
+++ PKGBUILD2022-08-20 16:43:21 UTC (rev 1271081)
@@ -1,8 +1,9 @@
-# Maintainer: Nicola Squartini 
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Nicola Squartini 
 
 pkgname=asar
-pkgver=3.1.0
-pkgrel=2
+pkgver=3.2.0
+pkgrel=1
 pkgdesc='Creating Electron app packages'
 arch=('any')
 url='https://github.com/electron/asar'



[arch-commits] Commit in asar/repos/community-any (PKGBUILD PKGBUILD)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 16:43:45
  Author: svenstaro
Revision: 1271082

archrelease: copy trunk to community-any

Added:
  asar/repos/community-any/PKGBUILD
(from rev 1271081, asar/trunk/PKGBUILD)
Deleted:
  asar/repos/community-any/PKGBUILD

--+
 PKGBUILD |   55 ---
 1 file changed, 28 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 16:43:21 UTC (rev 1271081)
+++ PKGBUILD2022-08-20 16:43:45 UTC (rev 1271082)
@@ -1,27 +0,0 @@
-# Maintainer: Nicola Squartini 
-
-pkgname=asar
-pkgver=3.1.0
-pkgrel=2
-pkgdesc='Creating Electron app packages'
-arch=('any')
-url='https://github.com/electron/asar'
-license=('MIT')
-depends=('nodejs')
-makedepends=('modclean' 'npm')
-options=(!emptydirs)
-
-package() {
-npm install -g --prefix="${srcdir}/usr" ${pkgname}@${pkgver}
-cp -r "${srcdir}/usr" "${pkgdir}"
-
-cd "${pkgdir}/usr/lib/node_modules/${pkgname}"
-install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-ln -s \
-$(realpath --relative-to="${pkgdir}"/usr/share/licenses/${pkgname} 
LICENSE.md) \
-"${pkgdir}/usr/share/licenses/${pkgname}"
-
-sed -e "s|${srcdir}|/|" -i package.json
-find node_modules -name 'package.json' -exec sed -e "s|${srcdir}||" -i {} 
\;
-modclean -r -a "*.ts,.bin,.github,.vscode,bin.js" --ignore='license'  # 
--ignore='license*'
-}

Copied: asar/repos/community-any/PKGBUILD (from rev 1271081, 
asar/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-20 16:43:45 UTC (rev 1271082)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Nicola Squartini 
+
+pkgname=asar
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='Creating Electron app packages'
+arch=('any')
+url='https://github.com/electron/asar'
+license=('MIT')
+depends=('nodejs')
+makedepends=('modclean' 'npm')
+options=(!emptydirs)
+
+package() {
+npm install -g --prefix="${srcdir}/usr" ${pkgname}@${pkgver}
+cp -r "${srcdir}/usr" "${pkgdir}"
+
+cd "${pkgdir}/usr/lib/node_modules/${pkgname}"
+install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ln -s \
+$(realpath --relative-to="${pkgdir}"/usr/share/licenses/${pkgname} 
LICENSE.md) \
+"${pkgdir}/usr/share/licenses/${pkgname}"
+
+sed -e "s|${srcdir}|/|" -i package.json
+find node_modules -name 'package.json' -exec sed -e "s|${srcdir}||" -i {} 
\;
+modclean -r -a "*.ts,.bin,.github,.vscode,bin.js" --ignore='license'  # 
--ignore='license*'
+}



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 16:49:37
  Author: felixonmars
Revision: 1271083

addpkg: haskell-hsini 0.5.1.2-1

Added:
  haskell-hsini/
  haskell-hsini/repos/
  haskell-hsini/trunk/
  haskell-hsini/trunk/PKGBUILD

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

Added: haskell-hsini/trunk/PKGBUILD
===
--- haskell-hsini/trunk/PKGBUILD(rev 0)
+++ haskell-hsini/trunk/PKGBUILD2022-08-20 16:49:37 UTC (rev 1271083)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hsini
+pkgname=haskell-hsini
+pkgver=0.5.1.2
+pkgrel=1
+pkgdesc="ini configuration files"
+url="https://github.com/magthe/hsini.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-th')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";
+$_hkgname-ghc-9.patch::https://github.com/magthe/hsini/pull/26.patch)
+sha256sums=('eaa6ae68c6271d5c3187054e702719b3ee7916524ffda27bb328cc9aad9ed8e4'
+'a0bbd73500a39ccfefb40166f8317dc0953ff8561631f729cddbb782ce7e5979')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p1 -i ../$_hkgname-ghc-9.patch
+  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=haskell-hsini 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-hsini/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 16:50:01
  Author: felixonmars
Revision: 1271084

archrelease: copy trunk to community-x86_64

Added:
  haskell-hsini/repos/community-x86_64/
  haskell-hsini/repos/community-x86_64/PKGBUILD
(from rev 1271083, haskell-hsini/trunk/PKGBUILD)

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

Copied: haskell-hsini/repos/community-x86_64/PKGBUILD (from rev 1271083, 
haskell-hsini/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 16:50:01 UTC (rev 1271084)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hsini
+pkgname=haskell-hsini
+pkgver=0.5.1.2
+pkgrel=1
+pkgdesc="ini configuration files"
+url="https://github.com/magthe/hsini.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-th')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";
+$_hkgname-ghc-9.patch::https://github.com/magthe/hsini/pull/26.patch)
+sha256sums=('eaa6ae68c6271d5c3187054e702719b3ee7916524ffda27bb328cc9aad9ed8e4'
+'a0bbd73500a39ccfefb40166f8317dc0953ff8561631f729cddbb782ce7e5979')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p1 -i ../$_hkgname-ghc-9.patch
+  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=haskell-hsini 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 16:59:31
  Author: felixonmars
Revision: 1271085

addpkg: haskell-lambdahack 0.11.0.0-1

Added:
  haskell-lambdahack/
  haskell-lambdahack/repos/
  haskell-lambdahack/trunk/
  haskell-lambdahack/trunk/PKGBUILD

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

Added: haskell-lambdahack/trunk/PKGBUILD
===
--- haskell-lambdahack/trunk/PKGBUILD   (rev 0)
+++ haskell-lambdahack/trunk/PKGBUILD   2022-08-20 16:59:31 UTC (rev 1271085)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=LambdaHack
+pkgname=haskell-lambdahack
+pkgver=0.11.0.0
+pkgrel=1
+pkgdesc="A game engine library for tactical squad ASCII roguelike dungeon 
crawlers"
+url="https://lambdahack.github.io";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-ansi-terminal' 
'haskell-assert-failure'
+ 'haskell-async' 'haskell-base-compat' 'haskell-enummapset' 
'haskell-file-embed'
+ 'haskell-hashable' 'haskell-hsini' 'haskell-keys' 'haskell-miniutter'
+ 'haskell-open-browser' 'haskell-optparse-applicative' 
'haskell-pretty-show'
+ 'haskell-primitive' 'haskell-sdl2' 'haskell-sdl2-ttf' 
'haskell-splitmix'
+ 'haskell-th-lift-instances' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-witch' 'haskell-zlib')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('5526cddc753d86283c94f3072c5f5675af357a3b66c039265df55306fa62b5a5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-lambdahack --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-jsaddle -frelease -fsupportnodejs -fwith_costly_optimizations 
-f-with_expensive_assertions
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYLEFT -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYLEFT
+}



[arch-commits] Commit in linux/trunk (PKGBUILD)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 17:00:05
  Author: freswa
Revision: 454079

upgpkg: linux 5.19.2.arch1-2: gcc-12.2.0 rebuild

Modified:
  linux/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 14:56:25 UTC (rev 454078)
+++ PKGBUILD2022-08-20 17:00:05 UTC (rev 454079)
@@ -2,7 +2,7 @@
 
 pkgbase=linux
 pkgver=5.19.2.arch1
-pkgrel=1
+pkgrel=2
 pkgdesc='Linux'
 _srctag=v${pkgver%.*}-${pkgver##*.}
 url="https://github.com/archlinux/linux/commits/$_srctag";



[arch-commits] Commit in linux/repos (4 files)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 17:00:11
  Author: freswa
Revision: 454080

archrelease: copy trunk to staging-x86_64

Added:
  linux/repos/staging-x86_64/
  linux/repos/staging-x86_64/PKGBUILD
(from rev 454079, linux/trunk/PKGBUILD)
  linux/repos/staging-x86_64/config
(from rev 454079, linux/trunk/config)
  linux/repos/staging-x86_64/keys/

--+
 PKGBUILD |  203 +
 config   |11132 +
 2 files changed, 11335 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 454079:454080 to see the changes.


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

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:00:13
  Author: felixonmars
Revision: 1271086

archrelease: copy trunk to community-x86_64

Added:
  haskell-lambdahack/repos/community-x86_64/
  haskell-lambdahack/repos/community-x86_64/PKGBUILD
(from rev 1271085, haskell-lambdahack/trunk/PKGBUILD)

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

Copied: haskell-lambdahack/repos/community-x86_64/PKGBUILD (from rev 1271085, 
haskell-lambdahack/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 17:00:13 UTC (rev 1271086)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=LambdaHack
+pkgname=haskell-lambdahack
+pkgver=0.11.0.0
+pkgrel=1
+pkgdesc="A game engine library for tactical squad ASCII roguelike dungeon 
crawlers"
+url="https://lambdahack.github.io";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-ansi-terminal' 
'haskell-assert-failure'
+ 'haskell-async' 'haskell-base-compat' 'haskell-enummapset' 
'haskell-file-embed'
+ 'haskell-hashable' 'haskell-hsini' 'haskell-keys' 'haskell-miniutter'
+ 'haskell-open-browser' 'haskell-optparse-applicative' 
'haskell-pretty-show'
+ 'haskell-primitive' 'haskell-sdl2' 'haskell-sdl2-ttf' 
'haskell-splitmix'
+ 'haskell-th-lift-instances' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-witch' 'haskell-zlib')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('5526cddc753d86283c94f3072c5f5675af357a3b66c039265df55306fa62b5a5')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname 
--datasubdir=haskell-lambdahack --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-jsaddle -frelease -fsupportnodejs -fwith_costly_optimizations 
-f-with_expensive_assertions
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYLEFT -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYLEFT
+}



[arch-commits] Commit in (allure allure/repos allure/trunk allure/trunk/PKGBUILD)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:04:52
  Author: felixonmars
Revision: 1271087

addpkg: allure 0.11.0.0-1

Added:
  allure/
  allure/repos/
  allure/trunk/
  allure/trunk/PKGBUILD

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

Added: allure/trunk/PKGBUILD
===
--- allure/trunk/PKGBUILD   (rev 0)
+++ allure/trunk/PKGBUILD   2022-08-20 17:04:52 UTC (rev 1271087)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=Allure
+pkgname=allure
+pkgver=0.11.0.0
+pkgrel=1
+pkgdesc="Near-future Sci-Fi roguelike and tactical squad combat game"
+url="http://allureofthestars.com";
+license=("AGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-lambdahack' 'haskell-async' 'haskell-enummapset' 
'haskell-file-embed'
+ 'haskell-hsini' 'haskell-optparse-applicative' 'haskell-primitive' 
'haskell-splitmix'
+ 'haskell-th-lift-instances')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('6125cc585e2a5f28c88855c3c328385c1f21bed093d7606478f1b2af0cb2b6d6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=allure 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-frelease -fsupportnodejs -fwith_costly_optimizations 
-f-with_expensive_assertions
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYLEFT -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYLEFT
+}



[arch-commits] Commit in allure/repos (community-x86_64 community-x86_64/PKGBUILD)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:05:14
  Author: felixonmars
Revision: 1271088

archrelease: copy trunk to community-x86_64

Added:
  allure/repos/community-x86_64/
  allure/repos/community-x86_64/PKGBUILD
(from rev 1271087, allure/trunk/PKGBUILD)

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

Copied: allure/repos/community-x86_64/PKGBUILD (from rev 1271087, 
allure/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 17:05:14 UTC (rev 1271088)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=Allure
+pkgname=allure
+pkgver=0.11.0.0
+pkgrel=1
+pkgdesc="Near-future Sci-Fi roguelike and tactical squad combat game"
+url="http://allureofthestars.com";
+license=("AGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-lambdahack' 'haskell-async' 'haskell-enummapset' 
'haskell-file-embed'
+ 'haskell-hsini' 'haskell-optparse-applicative' 'haskell-primitive' 
'haskell-splitmix'
+ 'haskell-th-lift-instances')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('6125cc585e2a5f28c88855c3c328385c1f21bed093d7606478f1b2af0cb2b6d6')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=allure 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-frelease -fsupportnodejs -fwith_costly_optimizations 
-f-with_expensive_assertions
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYLEFT -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYLEFT
+}



[arch-commits] Commit in goxel/trunk (PKGBUILD)

2022-08-20 Thread Alexander Rødseth via arch-commits
Date: Saturday, August 20, 2022 @ 17:08:54
  Author: arodseth
Revision: 1271089

upgpkg: goxel 0.11.0-1

Modified:
  goxel/trunk/PKGBUILD

--+
 PKGBUILD |   24 +---
 1 file changed, 9 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:05:14 UTC (rev 1271088)
+++ PKGBUILD2022-08-20 17:08:54 UTC (rev 1271089)
@@ -2,34 +2,28 @@
 # Contributor: Tesx 
 
 pkgname=goxel
-pkgver=0.10.8
-pkgrel=3
+pkgver=0.11.0
+pkgrel=1
 pkgdesc='3D program that lets you create voxel volumes'
 arch=(x86_64)
 url='https://goxel.xyz/'
 license=(GPL3)
 depends=(glfw gtk3)
-makedepends=(scons)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/guillaumechereau/$pkgname/archive/v$pkgver.tar.gz";)
-b2sums=('6752c350b456fd021f066e51d8d3f0af8d1146703998858b80dd39328c0137a8e243598f6103cdae511a13d8e4666d90958676ddd6b48d5a26e892672d2c221a')
+makedepends=(git scons)
+source=("git+https://github.com/guillaumechereau/goxel#commit=4c22f3304e1fd4478413fda2a8d39098f1c1bb28";)
 # tag: v0.11.0
+b2sums=(SKIP)
 
 prepare() {
-  cd $pkgname-$pkgver
-
-  # Quick hack for the imgui.ini file that is placed directly in the home 
directory.
-  # Upstream bug report: https://github.com/guillaumechereau/goxel/issues/250
-  sed -i 's,"imgui.ini",".goxelrc",g' ext_src/imgui/imgui.cpp
-
-  # Desktop shortcut fixes
+  cd $pkgname
+  sed -i 's|\${SNAP}/icon.png|goxel|;s|Name=goxel|Name=Goxel|' 
snap/gui/goxel.desktop
   sed -i 
's|/share/applications/goxel.desktop|/share/applications/io.github.guillaumechereau.Goxel.desktop|g'
 Makefile
-  sed -i 's|\${SNAP}/icon.png|goxel|;s|Name=goxel|Name=Goxel|' 
snap/gui/goxel.desktop
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   scons mode=release werror=n
 }
 
 package() {
-  make -C $pkgname-$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
+  make -C $pkgname DESTDIR="$pkgdir" PREFIX=/usr install
 }



[arch-commits] Commit in goxel/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-08-20 Thread Alexander Rødseth via arch-commits
Date: Saturday, August 20, 2022 @ 17:09:01
  Author: arodseth
Revision: 1271090

archrelease: copy trunk to community-x86_64

Added:
  goxel/repos/community-x86_64/PKGBUILD
(from rev 1271089, goxel/trunk/PKGBUILD)
Deleted:
  goxel/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   64 +++--
 1 file changed, 29 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-08-20 17:08:54 UTC (rev 1271089)
+++ PKGBUILD2022-08-20 17:09:01 UTC (rev 1271090)
@@ -1,35 +0,0 @@
-# Maintainer: Alexander F. Rødseth 
-# Contributor: Tesx 
-
-pkgname=goxel
-pkgver=0.10.8
-pkgrel=3
-pkgdesc='3D program that lets you create voxel volumes'
-arch=(x86_64)
-url='https://goxel.xyz/'
-license=(GPL3)
-depends=(glfw gtk3)
-makedepends=(scons)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/guillaumechereau/$pkgname/archive/v$pkgver.tar.gz";)
-b2sums=('6752c350b456fd021f066e51d8d3f0af8d1146703998858b80dd39328c0137a8e243598f6103cdae511a13d8e4666d90958676ddd6b48d5a26e892672d2c221a')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Quick hack for the imgui.ini file that is placed directly in the home 
directory.
-  # Upstream bug report: https://github.com/guillaumechereau/goxel/issues/250
-  sed -i 's,"imgui.ini",".goxelrc",g' ext_src/imgui/imgui.cpp
-
-  # Desktop shortcut fixes
-  sed -i 
's|/share/applications/goxel.desktop|/share/applications/io.github.guillaumechereau.Goxel.desktop|g'
 Makefile
-  sed -i 's|\${SNAP}/icon.png|goxel|;s|Name=goxel|Name=Goxel|' 
snap/gui/goxel.desktop
-}
-
-build() {
-  cd $pkgname-$pkgver
-  scons mode=release werror=n
-}
-
-package() {
-  make -C $pkgname-$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
-}

Copied: goxel/repos/community-x86_64/PKGBUILD (from rev 1271089, 
goxel/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-08-20 17:09:01 UTC (rev 1271090)
@@ -0,0 +1,29 @@
+# Maintainer: Alexander F. Rødseth 
+# Contributor: Tesx 
+
+pkgname=goxel
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='3D program that lets you create voxel volumes'
+arch=(x86_64)
+url='https://goxel.xyz/'
+license=(GPL3)
+depends=(glfw gtk3)
+makedepends=(git scons)
+source=("git+https://github.com/guillaumechereau/goxel#commit=4c22f3304e1fd4478413fda2a8d39098f1c1bb28";)
 # tag: v0.11.0
+b2sums=(SKIP)
+
+prepare() {
+  cd $pkgname
+  sed -i 's|\${SNAP}/icon.png|goxel|;s|Name=goxel|Name=Goxel|' 
snap/gui/goxel.desktop
+  sed -i 
's|/share/applications/goxel.desktop|/share/applications/io.github.guillaumechereau.Goxel.desktop|g'
 Makefile
+}
+
+build() {
+  cd $pkgname
+  scons mode=release werror=n
+}
+
+package() {
+  make -C $pkgname DESTDIR="$pkgdir" PREFIX=/usr install
+}



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:09:17
  Author: felixonmars
Revision: 1271091

addpkg: haskell-terminal-progress-bar 0.4.1-1

Added:
  haskell-terminal-progress-bar/
  haskell-terminal-progress-bar/repos/
  haskell-terminal-progress-bar/trunk/
  haskell-terminal-progress-bar/trunk/PKGBUILD

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

Added: haskell-terminal-progress-bar/trunk/PKGBUILD
===
--- haskell-terminal-progress-bar/trunk/PKGBUILD
(rev 0)
+++ haskell-terminal-progress-bar/trunk/PKGBUILD2022-08-20 17:09:17 UTC 
(rev 1271091)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=terminal-progress-bar
+pkgname=haskell-terminal-progress-bar
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A progress bar in the terminal"
+url="https://github.com/roelvandijk/terminal-progress-bar";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a61ca10c92cacc712dbbe28881dc23f41cc139760b7b2eef66bd0faa60ea5e24')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-terminal-progress-bar/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:09:38
  Author: felixonmars
Revision: 1271092

archrelease: copy trunk to community-x86_64

Added:
  haskell-terminal-progress-bar/repos/community-x86_64/
  haskell-terminal-progress-bar/repos/community-x86_64/PKGBUILD
(from rev 1271091, haskell-terminal-progress-bar/trunk/PKGBUILD)

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

Copied: haskell-terminal-progress-bar/repos/community-x86_64/PKGBUILD (from rev 
1271091, haskell-terminal-progress-bar/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 17:09:38 UTC (rev 1271092)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=terminal-progress-bar
+pkgname=haskell-terminal-progress-bar
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A progress bar in the terminal"
+url="https://github.com/roelvandijk/terminal-progress-bar";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-terminal-size')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a61ca10c92cacc712dbbe28881dc23f41cc139760b7b2eef66bd0faa60ea5e24')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:10:12
  Author: felixonmars
Revision: 1271093

addpkg: haskell-bytestring-progress 1.4-1

Added:
  haskell-bytestring-progress/
  haskell-bytestring-progress/repos/
  haskell-bytestring-progress/trunk/
  haskell-bytestring-progress/trunk/PKGBUILD

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

Added: haskell-bytestring-progress/trunk/PKGBUILD
===
--- haskell-bytestring-progress/trunk/PKGBUILD  (rev 0)
+++ haskell-bytestring-progress/trunk/PKGBUILD  2022-08-20 17:10:12 UTC (rev 
1271093)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-progress
+pkgname=haskell-bytestring-progress
+pkgver=1.4
+pkgrel=1
+pkgdesc="A library for tracking the consumption of a lazy ByteString"
+url="http://github.com/acw/bytestring-progress";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-terminal-progress-bar')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('9aafe45a7bb9bb1b4b1b9333aef20fc5345e07fbdf34dee5466a06e6bfb10d90')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fuse-system-progressbar
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-bytestring-progress/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:11:43
  Author: felixonmars
Revision: 1271094

archrelease: copy trunk to community-x86_64

Added:
  haskell-bytestring-progress/repos/community-x86_64/
  haskell-bytestring-progress/repos/community-x86_64/PKGBUILD
(from rev 1271093, haskell-bytestring-progress/trunk/PKGBUILD)

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

Copied: haskell-bytestring-progress/repos/community-x86_64/PKGBUILD (from rev 
1271093, haskell-bytestring-progress/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 17:11:43 UTC (rev 1271094)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-progress
+pkgname=haskell-bytestring-progress
+pkgver=1.4
+pkgrel=1
+pkgdesc="A library for tracking the consumption of a lazy ByteString"
+url="http://github.com/acw/bytestring-progress";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-terminal-progress-bar')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('9aafe45a7bb9bb1b4b1b9333aef20fc5345e07fbdf34dee5466a06e6bfb10d90')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fuse-system-progressbar
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 sdl2/trunk (4 files)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:14:16
  Author: svenstaro
Revision: 454081

upgpkg: sdl2 2.24.0-1

Added:
  sdl2/trunk/keys/
  sdl2/trunk/keys/pgp/
  sdl2/trunk/keys/pgp/1528635D8053A57F77D1E08630A59377A7763BE6.asc
Modified:
  sdl2/trunk/PKGBUILD

---+
 PKGBUILD  |8 
 keys/pgp/1528635D8053A57F77D1E08630A59377A7763BE6.asc |1 +
 2 files changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:00:11 UTC (rev 454080)
+++ PKGBUILD2022-08-20 17:14:16 UTC (rev 454081)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=sdl2
-pkgver=2.0.22
-pkgrel=2
+pkgver=2.24.0
+pkgrel=1
 pkgdesc="A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard (Version 2)"
 arch=('x86_64')
 url="https://www.libsdl.org";
@@ -15,8 +15,8 @@
 'jack: JACK audio driver'
 'pipewire: PipeWire audio driver'
 'libdecor: Wayland client decorations')
-source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
-sha512sums=('ca4b690433cd4d9d73b797da98666317128e7e817ab60e874a49d94791ea41e8a6b4fc43649593120daa0702190c0f8a6ed326c908d87375c8da9f369d994f6a'
+source=("https://github.com/libsdl-org/SDL/releases/download/release-${pkgver}/SDL2-${pkgver}.tar.gz"{,.sig})
+sha512sums=('5735bfc7b22f1780f80cc89f62a14ca809fe1280298d172f92dde74400db1f5378f8d3eae8834e886d3ca4f5ae6f1074d66c5c956613cf9e0cce961738514212'
 'SKIP')
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
 

Added: keys/pgp/1528635D8053A57F77D1E08630A59377A7763BE6.asc
===
(Binary files differ)

Index: sdl2/trunk/keys/pgp/1528635D8053A57F77D1E08630A59377A7763BE6.asc
===
--- keys/pgp/1528635D8053A57F77D1E08630A59377A7763BE6.asc   2022-08-20 
17:00:11 UTC (rev 454080)
+++ keys/pgp/1528635D8053A57F77D1E08630A59377A7763BE6.asc   2022-08-20 
17:14:16 UTC (rev 454081)

Property changes on: 
sdl2/trunk/keys/pgp/1528635D8053A57F77D1E08630A59377A7763BE6.asc
___
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property


[arch-commits] Commit in sdl2/repos (3 files)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:14:40
  Author: svenstaro
Revision: 454082

archrelease: copy trunk to testing-x86_64

Added:
  sdl2/repos/testing-x86_64/
  sdl2/repos/testing-x86_64/PKGBUILD
(from rev 454081, sdl2/trunk/PKGBUILD)
  sdl2/repos/testing-x86_64/keys/

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

Copied: sdl2/repos/testing-x86_64/PKGBUILD (from rev 454081, 
sdl2/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-20 17:14:40 UTC (rev 454082)
@@ -0,0 +1,41 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=sdl2
+pkgver=2.24.0
+pkgrel=1
+pkgdesc="A library for portable low-level access to a video framebuffer, audio 
output, mouse, and keyboard (Version 2)"
+arch=('x86_64')
+url="https://www.libsdl.org";
+license=('MIT')
+depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl' 'libxcursor' 'hidapi' 
'libusb')
+makedepends=('alsa-lib' 'mesa' 'libpulse' 'libxrandr' 'libxinerama' 'wayland' 
'libxkbcommon'
+ 'wayland-protocols' 'ibus' 'fcitx5' 'libxss' 'cmake' 'jack' 
'ninja' 'pipewire'
+ 'libdecor')
+optdepends=('alsa-lib: ALSA audio driver'
+'libpulse: PulseAudio audio driver'
+'jack: JACK audio driver'
+'pipewire: PipeWire audio driver'
+'libdecor: Wayland client decorations')
+source=("https://github.com/libsdl-org/SDL/releases/download/release-${pkgver}/SDL2-${pkgver}.tar.gz"{,.sig})
+sha512sums=('5735bfc7b22f1780f80cc89f62a14ca809fe1280298d172f92dde74400db1f5378f8d3eae8834e886d3ca4f5ae6f1074d66c5c956613cf9e0cce961738514212'
+'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
+
+build() {
+  CFLAGS+=" -ffat-lto-objects"
+  cmake -S SDL2-${pkgver} -B build -G Ninja \
+-D CMAKE_INSTALL_PREFIX=/usr \
+-D SDL_STATIC=OFF \
+-D SDL_RPATH=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --install build
+
+  # For some reason, this isn't named correctly and we have to fix it to 
reflect the actual staticlib name.
+  sed -i "s/libSDL2\.a/libSDL2main.a/g" 
"$pkgdir"/usr/lib/cmake/SDL2/SDL2Targets-noconfig.cmake
+
+  install -Dm644 SDL2-${pkgver}/LICENSE.txt 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



[arch-commits] Commit in sdl2_image/trunk (PKGBUILD)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:15:13
  Author: svenstaro
Revision: 454083

upgpkg: sdl2_image 2.6.2-1

Modified:
  sdl2_image/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:14:40 UTC (rev 454082)
+++ PKGBUILD2022-08-20 17:15:13 UTC (rev 454083)
@@ -1,6 +1,6 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=sdl2_image
-pkgver=2.6.1
+pkgver=2.6.2
 pkgrel=1
 pkgdesc="A simple library to load images of various formats as SDL surfaces 
(Version 2)"
 arch=('x86_64')
@@ -9,7 +9,7 @@
 depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp' 'libavif' 'libjxl')
 makedepends=('cmake')
 
source=("https://github.com/libsdl-org/SDL_image/releases/download/release-${pkgver}/SDL2_image-${pkgver}.tar.gz"{,.sig})
-sha512sums=('04467ccc740048998e331f83e6a0abd2e31cedff46f1c2909e3d6a32ddaa722697575fa571daea38b240f508957fe95e9af226f6c4a8038f1940b875fdb2a258'
+sha512sums=('b2bcd54c90bd76d12af41bbfc5bfaa5fcba42fe4adcb3587568af8ee74c4e7a4d7d3606638d0668974224e648db9b7267b76b067362cf59e98551547905f46f7'
 'SKIP')
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
 



[arch-commits] Commit in sdl2_image/repos (3 files)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:15:38
  Author: svenstaro
Revision: 454084

archrelease: copy trunk to testing-x86_64

Added:
  sdl2_image/repos/testing-x86_64/
  sdl2_image/repos/testing-x86_64/PKGBUILD
(from rev 454083, sdl2_image/trunk/PKGBUILD)
  sdl2_image/repos/testing-x86_64/keys/

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

Copied: sdl2_image/repos/testing-x86_64/PKGBUILD (from rev 454083, 
sdl2_image/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-20 17:15:38 UTC (rev 454084)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=sdl2_image
+pkgver=2.6.2
+pkgrel=1
+pkgdesc="A simple library to load images of various formats as SDL surfaces 
(Version 2)"
+arch=('x86_64')
+url="https://github.com/libsdl-org/SDL_image";
+license=('MIT')
+depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp' 'libavif' 'libjxl')
+makedepends=('cmake')
+source=("https://github.com/libsdl-org/SDL_image/releases/download/release-${pkgver}/SDL2_image-${pkgver}.tar.gz"{,.sig})
+sha512sums=('b2bcd54c90bd76d12af41bbfc5bfaa5fcba42fe4adcb3587568af8ee74c4e7a4d7d3606638d0668974224e648db9b7267b76b067362cf59e98551547905f46f7'
+'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
+
+build() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+  ./configure --disable-static --prefix=/usr \
+--disable-jpg-shared \
+--disable-png-shared \
+--disable-stb-image \
+--disable-tif-shared \
+--disable-jxl-shared \
+--disable-webp-shared
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



[arch-commits] Commit in sdl2_mixer/trunk (PKGBUILD)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:16:26
  Author: svenstaro
Revision: 454085

upgpkg: sdl2_mixer 2.6.2-1

Modified:
  sdl2_mixer/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:15:38 UTC (rev 454084)
+++ PKGBUILD2022-08-20 17:16:26 UTC (rev 454085)
@@ -1,6 +1,6 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=sdl2_mixer
-pkgver=2.6.1
+pkgver=2.6.2
 pkgrel=1
 pkgdesc="A simple multi-channel audio mixer (Version 2)"
 arch=('x86_64')
@@ -10,7 +10,7 @@
 makedepends=('fluidsynth')
 optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
 
source=("https://github.com/libsdl-org/SDL_mixer/releases/download/release-${pkgver}/SDL2_mixer-${pkgver}.tar.gz"{,.sig})
-sha512sums=('2e8ce354d2b87b3f7a44f4103f4e23f519e51ed8788c4032ef8af4f01c9cbe6366b2ae935e1f5ba334d212f8db07c2909e6923d622d8a3443f35c9c8fbf155cc'
+sha512sums=('16baa9d8b345bf0224538cbfb2ae9fc5d3deea2b454f41a98006c938fe7a65d5a8c84e28a76f98a4dd971c4fe5cf0219d8bf73331cf11f2702e01600eb197658'
 'SKIP')
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
 



[arch-commits] Commit in sdl2_mixer/repos (3 files)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:16:50
  Author: svenstaro
Revision: 454086

archrelease: copy trunk to testing-x86_64

Added:
  sdl2_mixer/repos/testing-x86_64/
  sdl2_mixer/repos/testing-x86_64/PKGBUILD
(from rev 454085, sdl2_mixer/trunk/PKGBUILD)
  sdl2_mixer/repos/testing-x86_64/keys/

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

Copied: sdl2_mixer/repos/testing-x86_64/PKGBUILD (from rev 454085, 
sdl2_mixer/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-20 17:16:50 UTC (rev 454086)
@@ -0,0 +1,29 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=sdl2_mixer
+pkgver=2.6.2
+pkgrel=1
+pkgdesc="A simple multi-channel audio mixer (Version 2)"
+arch=('x86_64')
+url="https://github.com/libsdl-org/SDL_mixer";
+license=('MIT')
+depends=('sdl2' 'libvorbis' 'libmodplug' 'mpg123' 'flac' 'opusfile')
+makedepends=('fluidsynth')
+optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
+source=("https://github.com/libsdl-org/SDL_mixer/releases/download/release-${pkgver}/SDL2_mixer-${pkgver}.tar.gz"{,.sig})
+sha512sums=('16baa9d8b345bf0224538cbfb2ae9fc5d3deea2b454f41a98006c938fe7a65d5a8c84e28a76f98a4dd971c4fe5cf0219d8bf73331cf11f2702e01600eb197658'
+'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
+
+build() {
+  cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+  ./configure --disable-static --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_mixer-${pkgver}/"
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



[arch-commits] Commit in sdl2_ttf/trunk (PKGBUILD)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:23:47
  Author: svenstaro
Revision: 454087

upgpkg: sdl2_ttf 2.20.1-1

Modified:
  sdl2_ttf/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:16:50 UTC (rev 454086)
+++ PKGBUILD2022-08-20 17:23:47 UTC (rev 454087)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase 
 
 pkgname=sdl2_ttf
-pkgver=2.20.0
+pkgver=2.20.1
 pkgrel=1
 pkgdesc="A library that allows you to use TrueType fonts in your SDL 
applications (Version 2)"
 arch=('x86_64')
@@ -9,7 +9,7 @@
 license=('MIT')
 depends=('sdl2' 'freetype2')
 
source=("https://github.com/libsdl-org/SDL_ttf/releases/download/release-${pkgver}/SDL2_ttf-${pkgver}.tar.gz"{,.sig})
-sha512sums=('14c78cfa04b938f0bd141d841a9473a1678bb04d01a96391cfa37ae3e7e316c90f175aff7d052499f7d982f59b823813e4cfdd367631a44b08b85f9b60d09c8c'
+sha512sums=('5745a318583a771dff30421d79c5940bdb0fe2f8908a0192e98a2a80076722ba53f6488e922de5b49e078f0c7d9d358e681886ebc8862d89ca6671b5be471134'
 'SKIP')
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
 



[arch-commits] Commit in sdl2_ttf/repos (4 files)

2022-08-20 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, August 20, 2022 @ 17:24:13
  Author: svenstaro
Revision: 454088

archrelease: copy trunk to testing-x86_64

Added:
  sdl2_ttf/repos/testing-x86_64/
  sdl2_ttf/repos/testing-x86_64/PKGBUILD
(from rev 454087, sdl2_ttf/trunk/PKGBUILD)
  sdl2_ttf/repos/testing-x86_64/freetype-pkgconfig.patch
(from rev 454087, sdl2_ttf/trunk/freetype-pkgconfig.patch)
  sdl2_ttf/repos/testing-x86_64/keys/

--+
 PKGBUILD |   34 +
 freetype-pkgconfig.patch |   46 +
 2 files changed, 80 insertions(+)

Copied: sdl2_ttf/repos/testing-x86_64/PKGBUILD (from rev 454087, 
sdl2_ttf/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-20 17:24:13 UTC (rev 454088)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase 
+
+pkgname=sdl2_ttf
+pkgver=2.20.1
+pkgrel=1
+pkgdesc="A library that allows you to use TrueType fonts in your SDL 
applications (Version 2)"
+arch=('x86_64')
+url="https://github.com/libsdl-org/SDL_ttf";
+license=('MIT')
+depends=('sdl2' 'freetype2')
+source=("https://github.com/libsdl-org/SDL_ttf/releases/download/release-${pkgver}/SDL2_ttf-${pkgver}.tar.gz"{,.sig})
+sha512sums=('5745a318583a771dff30421d79c5940bdb0fe2f8908a0192e98a2a80076722ba53f6488e922de5b49e078f0c7d9d358e681886ebc8862d89ca6671b5be471134'
+'SKIP')
+validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6')
+
+prepare() {
+  cd SDL2_ttf-${pkgver}
+
+  autoreconf -vi
+}
+
+build() {
+  cd "${srcdir}/SDL2_ttf-${pkgver}/"
+
+  ./configure --disable-static --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_ttf-${pkgver}/"
+
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: sdl2_ttf/repos/testing-x86_64/freetype-pkgconfig.patch (from rev 
454087, sdl2_ttf/trunk/freetype-pkgconfig.patch)
===
--- testing-x86_64/freetype-pkgconfig.patch (rev 0)
+++ testing-x86_64/freetype-pkgconfig.patch 2022-08-20 17:24:13 UTC (rev 
454088)
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/654758
+
+--- SDL_ttf-2.0.11/configure.in
 SDL_ttf-2.0.11/configure.in
+@@ -64,6 +64,7 @@
+   ;;
+ esac
+ 
++PKG_PROG_PKG_CONFIG
+ 
+ dnl Check for iconv (character conversion library; see iconv.m4)
+ dnl This isn't available on many systems
+@@ -94,6 +95,17 @@
+ dnl
+ dnl Get the cflags and libraries from the freetype-config script
+ dnl
++PKG_CHECK_MODULES(
++  FREETYPE2,
++  freetype2,
++  [
++  ft_found=yes
++  CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
++  LIBS="$LIBS $FREETYPE2_LIBS"
++  ],
++  ft_found=no
++)
++
+ AC_ARG_WITH(freetype-prefix,[  --with-freetype-prefix=PFX   Prefix where 
FREETYPE is 
+ installed (optional)],
+ freetype_prefix="$withval", freetype_prefix="")
+@@ -101,6 +113,7 @@
+ where FREETYPE is installed (optional)],
+ freetype_exec_prefix="$withval", freetype_exec_prefix="")
+ 
++if test "x$ft_found" != "xyes" ; then
+ if test x$freetype_exec_prefix != x ; then
+  freetype_args="$freetype_args --exec-prefix=$freetype_exec_prefix"
+  if test x${FREETYPE_CONFIG+set} != xset ; then
+@@ -123,6 +136,7 @@
+ CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
+ LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
+ fi
++fi
+ 
+ dnl Check for SDL
+ SDL_VERSION=1.2.4



[arch-commits] Commit in (arbtt arbtt/repos arbtt/trunk arbtt/trunk/PKGBUILD)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:29:32
  Author: felixonmars
Revision: 1271100

addpkg: arbtt 0.12-1

Added:
  arbtt/
  arbtt/repos/
  arbtt/trunk/
  arbtt/trunk/PKGBUILD

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

Added: arbtt/trunk/PKGBUILD
===
--- arbtt/trunk/PKGBUILD(rev 0)
+++ arbtt/trunk/PKGBUILD2022-08-20 17:29:32 UTC (rev 1271100)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+pkgname=arbtt
+pkgver=0.12
+pkgrel=1
+pkgdesc="Automatic Rule-Based Time Tracker"
+url="http://arbtt.nomeata.de/";
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-x11' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-bytestring-progress'
+ 'haskell-conduit' 'haskell-pcre-light' 'haskell-resourcet' 
'haskell-strict'
+ 'haskell-terminal-progress-bar' 'haskell-tz' 'haskell-unliftio-core' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-process-extras' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('681f6dafdec3830eed07f19193590e7f67d81a322ad0632ffc28dfc5fc9aaf2a')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-arbtt 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  (
+for _exe in arbtt-{dump,import,recover,stats}; do
+  PATH="$PWD/dist/build/$_exe:$PATH"
+done
+runhaskell Setup test
+  )
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  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 arbtt/repos (community-x86_64 community-x86_64/PKGBUILD)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 17:30:06
  Author: felixonmars
Revision: 1271101

archrelease: copy trunk to community-x86_64

Added:
  arbtt/repos/community-x86_64/
  arbtt/repos/community-x86_64/PKGBUILD
(from rev 1271100, arbtt/trunk/PKGBUILD)

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

Copied: arbtt/repos/community-x86_64/PKGBUILD (from rev 1271100, 
arbtt/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 17:30:06 UTC (rev 1271101)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+pkgname=arbtt
+pkgver=0.12
+pkgrel=1
+pkgdesc="Automatic Rule-Based Time Tracker"
+url="http://arbtt.nomeata.de/";
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-x11' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-bytestring-progress'
+ 'haskell-conduit' 'haskell-pcre-light' 'haskell-resourcet' 
'haskell-strict'
+ 'haskell-terminal-progress-bar' 'haskell-tz' 'haskell-unliftio-core' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-process-extras' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('681f6dafdec3830eed07f19193590e7f67d81a322ad0632ffc28dfc5fc9aaf2a')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-arbtt 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  (
+for _exe in arbtt-{dump,import,recover,stats}; do
+  PATH="$PWD/dist/build/$_exe:$PATH"
+done
+runhaskell Setup test
+  )
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  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 linux-lts/trunk (PKGBUILD)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 17:42:26
  Author: freswa
Revision: 454089

upgpkg: linux-lts 5.15.61-2: gcc-12.2.0 rebuild

Modified:
  linux-lts/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:24:13 UTC (rev 454088)
+++ PKGBUILD2022-08-20 17:42:26 UTC (rev 454089)
@@ -2,7 +2,7 @@
 
 pkgbase=linux-lts
 pkgver=5.15.61
-pkgrel=1
+pkgrel=2
 pkgdesc='LTS Linux'
 url="https://www.kernel.org/";
 arch=(x86_64)



[arch-commits] Commit in linux-lts/repos (10 files)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 17:42:33
  Author: freswa
Revision: 454090

archrelease: copy trunk to staging-x86_64

Added:
  linux-lts/repos/staging-x86_64/
  
linux-lts/repos/staging-x86_64/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
(from rev 454089, 
linux-lts/trunk/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch)
  
linux-lts/repos/staging-x86_64/0002-PCI-Add-more-NVIDIA-controllers-to-the-MSI-masking-q.patch
(from rev 454089, 
linux-lts/trunk/0002-PCI-Add-more-NVIDIA-controllers-to-the-MSI-masking-q.patch)
  
linux-lts/repos/staging-x86_64/0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch
(from rev 454089, 
linux-lts/trunk/0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch)
  
linux-lts/repos/staging-x86_64/0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch
(from rev 454089, 
linux-lts/trunk/0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch)
  linux-lts/repos/staging-x86_64/0005-lg-laptop-Recognize-more-models.patch
(from rev 454089, 
linux-lts/trunk/0005-lg-laptop-Recognize-more-models.patch)
  linux-lts/repos/staging-x86_64/0006-Fix-NFSv4-mount-regression.patch
(from rev 454089, linux-lts/trunk/0006-Fix-NFSv4-mount-regression.patch)
  linux-lts/repos/staging-x86_64/PKGBUILD
(from rev 454089, linux-lts/trunk/PKGBUILD)
  linux-lts/repos/staging-x86_64/config
(from rev 454089, linux-lts/trunk/config)
  linux-lts/repos/staging-x86_64/keys/

-+
 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch |  151 
 0002-PCI-Add-more-NVIDIA-controllers-to-the-MSI-masking-q.patch |   21 
 0003-iommu-intel-do-deep-dma-unmapping-to-avoid-kernel-fl.patch |   85 
 0004-Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch |   57 
 0005-lg-laptop-Recognize-more-models.patch  |   36 
 0006-Fix-NFSv4-mount-regression.patch   |  238 
 PKGBUILD|  213 
 config  |10701 
++
 8 files changed, 11502 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 454089:454090 to see the changes.


[arch-commits] Commit in glibc/trunk (PKGBUILD disable-clone3.diff)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 17:51:12
  Author: freswa
Revision: 454091

re-enable clone3 syscall

After electron 9-12 are not supported anymore
or patched and discord has been updated to
electron > 13 according to the console output,
we can safely enable the clone3 syscall again.

Modified:
  glibc/trunk/PKGBUILD
Deleted:
  glibc/trunk/disable-clone3.diff

-+
 PKGBUILD|8 
 disable-clone3.diff |   22 --
 2 files changed, 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:42:33 UTC (rev 454090)
+++ PKGBUILD2022-08-20 17:51:12 UTC (rev 454091)
@@ -21,7 +21,6 @@
 locale-gen
 lib32-glibc.conf
 sdt.h sdt-config.h
-disable-clone3.diff
 reenable_DT_HASH.patch
 )
 validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8 # Carlos O'Donell
@@ -32,7 +31,6 @@
 
'7c265e6d36a5c0dff127093580827d15519b6c7205c2e1300e82f0fb5b9dd00b6accb40c56581f18179c4fbbc95bd2bf1b900ace867a83accde0969f7b609f8a'
 
'a6a5e2f2a627cc0d13d11a82458cfd0aa75ec1c5a3c7647e5d5a3bb1d4c0770887a3909bfda1236803d5bc9801bfd6251e13483e9adf797e4725332cd0d91a0e'
 
'214e995e84b342fe7b2a7704ce011b7c7fc74c2971f98eeb3b4e677b99c860addc0a7d91b8dc0f0b8be7537782ee331999e02ba48f4ccc1c331b60f27d715678'
-
'edef5f724f68ea95c6b0127bd13a10245f548afc381b2d0a6d1d06ee9f87b7dd89c6becd35d5ae722bf838594eb870a747f67f07f46e7d63f8c8d1a43cce4a52'
 
'5fdd133c367af2f5454ea1eea7907de12166fb95eb59dbe33eae16aa9e26209b6585972bc1c80e36a0af4bfb04296acaf940ee78cd624cdcbab9669dff46c051')
 
 prepare() {
@@ -41,12 +39,6 @@
   [[ -d glibc-$pkgver ]] && ln -s glibc-$pkgver glibc
   cd glibc
 
-  # Disable clone3 syscall for now
-  # Can be removed when eletron{9,11,12} and discord are removed or patched:
-  # 
https://github.com/electron/electron/commit/993ecb5bdd5c57024c8718ca6203a8f924d6d574
-  # Patch src: 
https://patchwork.ozlabs.org/project/glibc/patch/87eebkf8ph@oldenburg.str.redhat.com/
-  patch -Np1 -i "${srcdir}"/disable-clone3.diff
-
   # re-enable `--hash-style=both` for building shared objects due to issues 
with EPIC's EAC
   # which relies on DT_HASH to be present in these libs.
   # reconsider 2023-01

Deleted: disable-clone3.diff
===
--- disable-clone3.diff 2022-08-20 17:42:33 UTC (rev 454090)
+++ disable-clone3.diff 2022-08-20 17:51:12 UTC (rev 454091)
@@ -1,22 +0,0 @@
-diff --git a/sysdeps/unix/sysv/linux/clone-internal.c 
b/sysdeps/unix/sysv/linux/clone-internal.c
-index 1e7a8f6b35..4046c81180 100644
 a/sysdeps/unix/sysv/linux/clone-internal.c
-+++ b/sysdeps/unix/sysv/linux/clone-internal.c
-@@ -48,17 +48,6 @@ __clone_internal (struct clone_args *cl_args,
- int (*func) (void *arg), void *arg)
- {
-   int ret;
--#ifdef HAVE_CLONE3_WRAPPER
--  /* Try clone3 first.  */
--  int saved_errno = errno;
--  ret = __clone3 (cl_args, sizeof (*cl_args), func, arg);
--  if (ret != -1 || errno != ENOSYS)
--return ret;
--
--  /* NB: Restore errno since errno may be checked against non-zero
-- return value.  */
--  __set_errno (saved_errno);
--#endif
- 
-   /* Map clone3 arguments to clone arguments.  NB: No need to check
-  invalid clone3 specific bits in flags nor exit_signal since this



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:09:11
  Author: felixonmars
Revision: 1271102

addpkg: haskell-gio 0.13.8.2-1

Added:
  haskell-gio/
  haskell-gio/repos/
  haskell-gio/trunk/
  haskell-gio/trunk/PKGBUILD

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

Added: haskell-gio/trunk/PKGBUILD
===
--- haskell-gio/trunk/PKGBUILD  (rev 0)
+++ haskell-gio/trunk/PKGBUILD  2022-08-20 18:09:11 UTC (rev 1271102)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=gio
+pkgname=haskell-gio
+pkgver=0.13.8.2
+pkgrel=1
+pkgdesc="Binding to GIO"
+url="http://projects.haskell.org/gtk2hs/";
+license=("LGPL2_1")
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'haskell-glib')
+makedepends=('ghc' 'haskell-gtk2hs-buildtools')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b3f5ad488523a5569f410eda582a265c5d7331eee26cd116aada0c68d08100ba')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-gio 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING
+}



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

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:09:32
  Author: felixonmars
Revision: 1271103

archrelease: copy trunk to community-x86_64

Added:
  haskell-gio/repos/community-x86_64/
  haskell-gio/repos/community-x86_64/PKGBUILD
(from rev 1271102, haskell-gio/trunk/PKGBUILD)

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

Copied: haskell-gio/repos/community-x86_64/PKGBUILD (from rev 1271102, 
haskell-gio/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 18:09:32 UTC (rev 1271103)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=gio
+pkgname=haskell-gio
+pkgver=0.13.8.2
+pkgrel=1
+pkgdesc="Binding to GIO"
+url="http://projects.haskell.org/gtk2hs/";
+license=("LGPL2_1")
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'haskell-glib')
+makedepends=('ghc' 'haskell-gtk2hs-buildtools')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b3f5ad488523a5569f410eda582a265c5d7331eee26cd116aada0c68d08100ba')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-gio 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING
+}



[arch-commits] Commit in (bustle bustle/repos bustle/trunk bustle/trunk/PKGBUILD)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:28:32
  Author: felixonmars
Revision: 1271104

addpkg: bustle 0.8.0-1

Added:
  bustle/
  bustle/repos/
  bustle/trunk/
  bustle/trunk/PKGBUILD

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

Added: bustle/trunk/PKGBUILD
===
--- bustle/trunk/PKGBUILD   (rev 0)
+++ bustle/trunk/PKGBUILD   2022-08-20 18:28:32 UTC (rev 1271104)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+pkgname=bustle
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Draw sequence diagrams of D-Bus traffic"
+url="https://gitlab.freedesktop.org/bustle/bustle#readme";
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'libpcap' 'haskell-cairo' 'haskell-gio' 
'haskell-glib' 'haskell-gtk'
+ 'haskell-pango')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('2fb3e9d9a97db3cd9a3ce763e86947b642bd7733b46206177a1677f08726573c')
+
+build() {
+  cd $pkgname-$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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-hgettext -f-interactivetests -fthreaded
+
+  runhaskell Setup build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in bustle/repos (community-x86_64 community-x86_64/PKGBUILD)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:29:01
  Author: felixonmars
Revision: 1271105

archrelease: copy trunk to community-x86_64

Added:
  bustle/repos/community-x86_64/
  bustle/repos/community-x86_64/PKGBUILD
(from rev 1271104, bustle/trunk/PKGBUILD)

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

Copied: bustle/repos/community-x86_64/PKGBUILD (from rev 1271104, 
bustle/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 18:29:01 UTC (rev 1271105)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+pkgname=bustle
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Draw sequence diagrams of D-Bus traffic"
+url="https://gitlab.freedesktop.org/bustle/bustle#readme";
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'glib2' 'libpcap' 'haskell-cairo' 'haskell-gio' 
'haskell-glib' 'haskell-gtk'
+ 'haskell-pango')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('2fb3e9d9a97db3cd9a3ce763e86947b642bd7733b46206177a1677f08726573c')
+
+build() {
+  cd $pkgname-$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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-hgettext -f-interactivetests -fthreaded
+
+  runhaskell Setup build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in linux-zen/trunk (PKGBUILD)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 18:35:10
  Author: freswa
Revision: 454092

upgpkg: linux-zen 5.19.2.zen1-2: gcc-12.2.0 rebuild

Modified:
  linux-zen/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 17:51:12 UTC (rev 454091)
+++ PKGBUILD2022-08-20 18:35:10 UTC (rev 454092)
@@ -2,7 +2,7 @@
 
 pkgbase=linux-zen
 pkgver=5.19.2.zen1
-pkgrel=1
+pkgrel=2
 pkgdesc='Linux ZEN'
 _srctag=v${pkgver%.*}-${pkgver##*.}
 url="https://github.com/zen-kernel/zen-kernel/commits/$_srctag";



[arch-commits] Commit in linux-zen/repos (4 files)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 18:35:16
  Author: freswa
Revision: 454093

archrelease: copy trunk to staging-x86_64

Added:
  linux-zen/repos/staging-x86_64/
  linux-zen/repos/staging-x86_64/PKGBUILD
(from rev 454092, linux-zen/trunk/PKGBUILD)
  linux-zen/repos/staging-x86_64/config
(from rev 454092, linux-zen/trunk/config)
  linux-zen/repos/staging-x86_64/keys/

--+
 PKGBUILD |  204 +
 config   |11187 +
 2 files changed, 11391 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 454092:454093 to see the changes.


[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:46:37
  Author: felixonmars
Revision: 1271106

addpkg: haskell-uri-bytestring-aeson 0.1.0.8-1

Added:
  haskell-uri-bytestring-aeson/
  haskell-uri-bytestring-aeson/repos/
  haskell-uri-bytestring-aeson/trunk/
  haskell-uri-bytestring-aeson/trunk/PKGBUILD

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

Added: haskell-uri-bytestring-aeson/trunk/PKGBUILD
===
--- haskell-uri-bytestring-aeson/trunk/PKGBUILD (rev 0)
+++ haskell-uri-bytestring-aeson/trunk/PKGBUILD 2022-08-20 18:46:37 UTC (rev 
1271106)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=uri-bytestring-aeson
+pkgname=haskell-uri-bytestring-aeson
+pkgver=0.1.0.8
+pkgrel=1
+pkgdesc="Aeson instances for URI Bytestring"
+url="https://github.com/reactormonk/uri-bytestring-aeson";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-uri-bytestring')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('612accdae921dd7a5d00fedaa377d994be5ab585ae75b1f9f0dcaa10412e7509')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-uri-bytestring-aeson/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:47:01
  Author: felixonmars
Revision: 1271107

archrelease: copy trunk to community-x86_64

Added:
  haskell-uri-bytestring-aeson/repos/community-x86_64/
  haskell-uri-bytestring-aeson/repos/community-x86_64/PKGBUILD
(from rev 1271106, haskell-uri-bytestring-aeson/trunk/PKGBUILD)

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

Copied: haskell-uri-bytestring-aeson/repos/community-x86_64/PKGBUILD (from rev 
1271106, haskell-uri-bytestring-aeson/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 18:47:01 UTC (rev 1271107)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=uri-bytestring-aeson
+pkgname=haskell-uri-bytestring-aeson
+pkgver=0.1.0.8
+pkgrel=1
+pkgdesc="Aeson instances for URI Bytestring"
+url="https://github.com/reactormonk/uri-bytestring-aeson";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-uri-bytestring')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('612accdae921dd7a5d00fedaa377d994be5ab585ae75b1f9f0dcaa10412e7509')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:47:32
  Author: felixonmars
Revision: 1271108

addpkg: haskell-sendfile 0.7.11.4-1

Added:
  haskell-sendfile/
  haskell-sendfile/repos/
  haskell-sendfile/trunk/
  haskell-sendfile/trunk/PKGBUILD

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

Added: haskell-sendfile/trunk/PKGBUILD
===
--- haskell-sendfile/trunk/PKGBUILD (rev 0)
+++ haskell-sendfile/trunk/PKGBUILD 2022-08-20 18:47:32 UTC (rev 1271108)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=sendfile
+pkgname=haskell-sendfile
+pkgver=0.7.11.4
+pkgrel=1
+pkgdesc="A portable sendfile library"
+url="https://github.com/Happstack/sendfile";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('73b0be7cd6e29e859ffae741cb398eb129e0bf1c6953ef5755da0b8a020751c4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-portable
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-sendfile/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:47:53
  Author: felixonmars
Revision: 1271109

archrelease: copy trunk to community-x86_64

Added:
  haskell-sendfile/repos/community-x86_64/
  haskell-sendfile/repos/community-x86_64/PKGBUILD
(from rev 1271108, haskell-sendfile/trunk/PKGBUILD)

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

Copied: haskell-sendfile/repos/community-x86_64/PKGBUILD (from rev 1271108, 
haskell-sendfile/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 18:47:53 UTC (rev 1271109)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=sendfile
+pkgname=haskell-sendfile
+pkgver=0.7.11.4
+pkgrel=1
+pkgdesc="A portable sendfile library"
+url="https://github.com/Happstack/sendfile";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('73b0be7cd6e29e859ffae741cb398eb129e0bf1c6953ef5755da0b8a020751c4')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-portable
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:51:10
  Author: felixonmars
Revision: 1271110

addpkg: haskell-recaptcha 0.1.0.4-1

Added:
  haskell-recaptcha/
  haskell-recaptcha/repos/
  haskell-recaptcha/trunk/
  haskell-recaptcha/trunk/PKGBUILD

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

Added: haskell-recaptcha/trunk/PKGBUILD
===
--- haskell-recaptcha/trunk/PKGBUILD(rev 0)
+++ haskell-recaptcha/trunk/PKGBUILD2022-08-20 18:51:10 UTC (rev 1271110)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=recaptcha
+pkgname=haskell-recaptcha
+pkgver=0.1.0.4
+pkgrel=1
+pkgdesc="Functions for using the reCAPTCHA service in web applications."
+url="http://github.com/jgm/recaptcha/tree/master";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a26172c3f5797e402de95b92edcb56a828cb791849b92b4238683446c970430d')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fnetwork-uri
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-recaptcha/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:51:34
  Author: felixonmars
Revision: 127

archrelease: copy trunk to community-x86_64

Added:
  haskell-recaptcha/repos/community-x86_64/
  haskell-recaptcha/repos/community-x86_64/PKGBUILD
(from rev 1271110, haskell-recaptcha/trunk/PKGBUILD)

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

Copied: haskell-recaptcha/repos/community-x86_64/PKGBUILD (from rev 1271110, 
haskell-recaptcha/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 18:51:34 UTC (rev 127)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=recaptcha
+pkgname=haskell-recaptcha
+pkgver=0.1.0.4
+pkgrel=1
+pkgdesc="Functions for using the reCAPTCHA service in web applications."
+url="http://github.com/jgm/recaptcha/tree/master";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('a26172c3f5797e402de95b92edcb56a828cb791849b92b4238683446c970430d')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fnetwork-uri
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:52:45
  Author: felixonmars
Revision: 1271112

addpkg: haskell-hoauth2 2.0.0-1

Added:
  haskell-hoauth2/
  haskell-hoauth2/repos/
  haskell-hoauth2/trunk/
  haskell-hoauth2/trunk/PKGBUILD

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

Added: haskell-hoauth2/trunk/PKGBUILD
===
--- haskell-hoauth2/trunk/PKGBUILD  (rev 0)
+++ haskell-hoauth2/trunk/PKGBUILD  2022-08-20 18:52:45 UTC (rev 1271112)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hoauth2
+pkgname=haskell-hoauth2
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Haskell OAuth2 authentication client"
+url="https://github.com/freizl/hoauth2";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hashable' 'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-microlens' 
'haskell-unordered-containers'
+ 'haskell-uri-bytestring' 'haskell-uri-bytestring-aeson')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('8b8f8f9fe4e0a9ae4d953079f6c59d56b522648962f894c1354ff248dd8aa280')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-hoauth2/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:53:07
  Author: felixonmars
Revision: 1271113

archrelease: copy trunk to community-x86_64

Added:
  haskell-hoauth2/repos/community-x86_64/
  haskell-hoauth2/repos/community-x86_64/PKGBUILD
(from rev 1271112, haskell-hoauth2/trunk/PKGBUILD)

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

Copied: haskell-hoauth2/repos/community-x86_64/PKGBUILD (from rev 1271112, 
haskell-hoauth2/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 18:53:07 UTC (rev 1271113)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hoauth2
+pkgname=haskell-hoauth2
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Haskell OAuth2 authentication client"
+url="https://github.com/freizl/hoauth2";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hashable' 'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-microlens' 
'haskell-unordered-containers'
+ 'haskell-uri-bytestring' 'haskell-uri-bytestring-aeson')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('8b8f8f9fe4e0a9ae4d953079f6c59d56b522648962f894c1354ff248dd8aa280')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:56:16
  Author: felixonmars
Revision: 1271114

addpkg: haskell-happstack-server 7.8.0-1

Added:
  haskell-happstack-server/
  haskell-happstack-server/repos/
  haskell-happstack-server/trunk/
  haskell-happstack-server/trunk/PKGBUILD

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

Added: haskell-happstack-server/trunk/PKGBUILD
===
--- haskell-happstack-server/trunk/PKGBUILD (rev 0)
+++ haskell-happstack-server/trunk/PKGBUILD 2022-08-20 18:56:16 UTC (rev 
1271114)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=happstack-server
+pkgname=haskell-happstack-server
+pkgver=7.8.0
+pkgrel=1
+pkgdesc="Web related tools and services."
+url="http://happstack.com";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-extensible-exceptions'
+ 'haskell-hslogger' 'haskell-html' 'haskell-monad-control' 
'haskell-network'
+ 'haskell-network-uri' 'haskell-old-locale' 'haskell-sendfile' 
'haskell-syb'
+ 'haskell-system-filepath' 'haskell-threads' 
'haskell-transformers-base'
+ 'haskell-transformers-compat' 'haskell-utf8-string' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('356a7a173d07ca929f2da1802c298c7c4546ce90e1e7ab2776c5925d60af0eb5')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fnetwork-uri
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING
+}



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

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 18:56:36
  Author: felixonmars
Revision: 1271115

archrelease: copy trunk to community-x86_64

Added:
  haskell-happstack-server/repos/community-x86_64/
  haskell-happstack-server/repos/community-x86_64/PKGBUILD
(from rev 1271114, haskell-happstack-server/trunk/PKGBUILD)

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

Copied: haskell-happstack-server/repos/community-x86_64/PKGBUILD (from rev 
1271114, haskell-happstack-server/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 18:56:36 UTC (rev 1271115)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=happstack-server
+pkgname=haskell-happstack-server
+pkgver=7.8.0
+pkgrel=1
+pkgdesc="Web related tools and services."
+url="http://happstack.com";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-extensible-exceptions'
+ 'haskell-hslogger' 'haskell-html' 'haskell-monad-control' 
'haskell-network'
+ 'haskell-network-uri' 'haskell-old-locale' 'haskell-sendfile' 
'haskell-syb'
+ 'haskell-system-filepath' 'haskell-threads' 
'haskell-transformers-base'
+ 'haskell-transformers-compat' 'haskell-utf8-string' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('356a7a173d07ca929f2da1802c298c7c4546ce90e1e7ab2776c5925d60af0eb5')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fnetwork-uri
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYING
+}



[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:01:49
  Author: felixonmars
Revision: 1271116

addpkg: haskell-filestore 0.6.5-1

Added:
  haskell-filestore/
  haskell-filestore/repos/
  haskell-filestore/trunk/
  haskell-filestore/trunk/PKGBUILD

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

Added: haskell-filestore/trunk/PKGBUILD
===
--- haskell-filestore/trunk/PKGBUILD(rev 0)
+++ haskell-filestore/trunk/PKGBUILD2022-08-20 19:01:49 UTC (rev 1271116)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=filestore
+pkgname=haskell-filestore
+pkgver=0.6.5
+pkgrel=1
+pkgdesc="Interface for versioning file stores."
+url="https://github.com/jgm/filestore.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-old-locale' 'haskell-split' 
'haskell-utf8-string'
+ 'haskell-xml')
+makedepends=('ghc' 'haskell-hunit')
+checkdepends=('git' 'mercurial')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b0052e1149e582d55078f8fd84ffb4e97111dab90ff8b589cc5ae2b6c711497c')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fmaxcount
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-filestore/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:02:11
  Author: felixonmars
Revision: 1271117

archrelease: copy trunk to community-x86_64

Added:
  haskell-filestore/repos/community-x86_64/
  haskell-filestore/repos/community-x86_64/PKGBUILD
(from rev 1271116, haskell-filestore/trunk/PKGBUILD)

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

Copied: haskell-filestore/repos/community-x86_64/PKGBUILD (from rev 1271116, 
haskell-filestore/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 19:02:11 UTC (rev 1271117)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=filestore
+pkgname=haskell-filestore
+pkgver=0.6.5
+pkgrel=1
+pkgdesc="Interface for versioning file stores."
+url="https://github.com/jgm/filestore.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-old-locale' 'haskell-split' 
'haskell-utf8-string'
+ 'haskell-xml')
+makedepends=('ghc' 'haskell-hunit')
+checkdepends=('git' 'mercurial')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b0052e1149e582d55078f8fd84ffb4e97111dab90ff8b589cc5ae2b6c711497c')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fmaxcount
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:09:24
  Author: felixonmars
Revision: 1271118

addpkg: haskell-hstringtemplate 0.8.8-1

Added:
  haskell-hstringtemplate/
  haskell-hstringtemplate/repos/
  haskell-hstringtemplate/trunk/
  haskell-hstringtemplate/trunk/PKGBUILD

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

Added: haskell-hstringtemplate/trunk/PKGBUILD
===
--- haskell-hstringtemplate/trunk/PKGBUILD  (rev 0)
+++ haskell-hstringtemplate/trunk/PKGBUILD  2022-08-20 19:09:24 UTC (rev 
1271118)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=HStringTemplate
+pkgname=haskell-hstringtemplate
+pkgver=0.8.8
+pkgrel=1
+pkgdesc="StringTemplate implementation in Haskell."
+url="http://hub.darcs.net/sterlingclover/hstringtemplate";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-old-locale' 'haskell-syb' 
'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-random')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('717df416550bdc62f2070c1a86238efe535b0fa41c5fd708c4f631f927880cd9')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-hstringtemplate/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:09:45
  Author: felixonmars
Revision: 1271119

archrelease: copy trunk to community-x86_64

Added:
  haskell-hstringtemplate/repos/community-x86_64/
  haskell-hstringtemplate/repos/community-x86_64/PKGBUILD
(from rev 1271118, haskell-hstringtemplate/trunk/PKGBUILD)

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

Copied: haskell-hstringtemplate/repos/community-x86_64/PKGBUILD (from rev 
1271118, haskell-hstringtemplate/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 19:09:45 UTC (rev 1271119)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=HStringTemplate
+pkgname=haskell-hstringtemplate
+pkgver=0.8.8
+pkgrel=1
+pkgdesc="StringTemplate implementation in Haskell."
+url="http://hub.darcs.net/sterlingclover/hstringtemplate";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-old-locale' 'haskell-syb' 
'haskell-void')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-random')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('717df416550bdc62f2070c1a86238efe535b0fa41c5fd708c4f631f927880cd9')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -d semigroups $_hkgname.cabal
+}
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' 
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 linux-hardened/trunk (PKGBUILD)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 19:10:02
  Author: freswa
Revision: 454094

upgpkg: linux-hardened 5.18.18.hardened1-2: gcc-12.2.0 rebuild

Modified:
  linux-hardened/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 18:35:16 UTC (rev 454093)
+++ PKGBUILD2022-08-20 19:10:02 UTC (rev 454094)
@@ -5,7 +5,7 @@
 
 pkgbase=linux-hardened
 pkgver=5.18.18.hardened1
-pkgrel=1
+pkgrel=2
 pkgdesc='Security-Hardened Linux'
 url='https://github.com/anthraxx/linux-hardened'
 arch=(x86_64)



[arch-commits] Commit in linux-hardened/repos (4 files)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 19:10:09
  Author: freswa
Revision: 454095

archrelease: copy trunk to staging-x86_64

Added:
  linux-hardened/repos/staging-x86_64/
  linux-hardened/repos/staging-x86_64/PKGBUILD
(from rev 454094, linux-hardened/trunk/PKGBUILD)
  linux-hardened/repos/staging-x86_64/config
(from rev 454094, linux-hardened/trunk/config)
  linux-hardened/repos/staging-x86_64/keys/

--+
 PKGBUILD |  209 +
 config   |10823 +
 2 files changed, 11032 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 454094:454095 to see the changes.


[arch-commits] Commit in (4 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:11:43
  Author: felixonmars
Revision: 1271120

addpkg: haskell-missingh 1.5.0.1-1

Added:
  haskell-missingh/
  haskell-missingh/repos/
  haskell-missingh/trunk/
  haskell-missingh/trunk/PKGBUILD

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

Added: haskell-missingh/trunk/PKGBUILD
===
--- haskell-missingh/trunk/PKGBUILD (rev 0)
+++ haskell-missingh/trunk/PKGBUILD 2022-08-20 19:11:43 UTC (rev 1271120)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=MissingH
+pkgname=haskell-missingh
+pkgver=1.5.0.1
+pkgrel=1
+pkgdesc="Large utility library"
+url="https://github.com/haskell-hvr/missingh.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hslogger' 'haskell-network' 'haskell-network-bsd' 
'haskell-old-locale'
+ 'haskell-old-time' 'haskell-regex-compat')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('cb2fa4a62a609ec6bcfa2eab6ae6d34c6f5bfba523fed8dc0c055b3176732231')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fnetwork--ge-3_0_0
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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-missingh/repos (2 files)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:12:05
  Author: felixonmars
Revision: 1271121

archrelease: copy trunk to community-x86_64

Added:
  haskell-missingh/repos/community-x86_64/
  haskell-missingh/repos/community-x86_64/PKGBUILD
(from rev 1271120, haskell-missingh/trunk/PKGBUILD)

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

Copied: haskell-missingh/repos/community-x86_64/PKGBUILD (from rev 1271120, 
haskell-missingh/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 19:12:05 UTC (rev 1271121)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=MissingH
+pkgname=haskell-missingh
+pkgver=1.5.0.1
+pkgrel=1
+pkgdesc="Large utility library"
+url="https://github.com/haskell-hvr/missingh.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hslogger' 'haskell-network' 'haskell-network-bsd' 
'haskell-old-locale'
+ 'haskell-old-time' 'haskell-regex-compat')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('cb2fa4a62a609ec6bcfa2eab6ae6d34c6f5bfba523fed8dc0c055b3176732231')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-fnetwork--ge-3_0_0
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 nvidia/trunk (PKGBUILD)

2022-08-20 Thread Frederik Schwan via arch-commits
Date: Saturday, August 20, 2022 @ 19:14:11
  Author: freswa
Revision: 454096

upgpkg: nvidia 515.65.01-6: gcc-12.2.0 rebuild

Modified:
  nvidia/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 19:10:09 UTC (rev 454095)
+++ PKGBUILD2022-08-20 19:14:11 UTC (rev 454096)
@@ -4,7 +4,7 @@
 
 pkgname=nvidia
 pkgver=515.65.01
-pkgrel=5
+pkgrel=6
 pkgdesc="NVIDIA drivers for linux"
 arch=('x86_64')
 url="https://www.nvidia.com/";



[arch-commits] Commit in haskell-configfile/trunk (PKGBUILD)

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:14:33
  Author: felixonmars
Revision: 1271122

addpkg: haskell-configfile 1.1.4-1

Modified:
  haskell-configfile/trunk/PKGBUILD

--+
 PKGBUILD |   47 +++
 1 file changed, 27 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-08-20 19:12:05 UTC (rev 1271121)
+++ PKGBUILD2022-08-20 19:14:33 UTC (rev 1271122)
@@ -1,10 +1,9 @@
 # Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
 
 _hkgname=ConfigFile
 pkgname=haskell-configfile
 pkgver=1.1.4
-pkgrel=59
+pkgrel=1
 pkgdesc="Configuration file reading & writing"
 url="http://software.complete.org/configfile";
 license=("BSD")
@@ -11,29 +10,37 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-missingh')
 makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('4455110c95172461b2d82ae88ba4f386d5e49ddd7f7def83714d2f6198090f0d121166eece3efa735341da9bbc0029e704be00d3e671d24ad27e838dfe913776')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('ae087b359ff2945a62b671449227e0a811d143ee651179f4e7e9c66548e0f514')
 
 build() {
-cd $_hkgname-$pkgver
+  cd $_hkgname-$pkgver
 
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-buildtests
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+  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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-buildtests
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
 package() {
-cd $_hkgname-$pkgver
+  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 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+  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 COPYRIGHT -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYRIGHT
 }



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

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 19:14:54
  Author: felixonmars
Revision: 1271123

archrelease: copy trunk to community-x86_64

Added:
  haskell-configfile/repos/community-x86_64/
  haskell-configfile/repos/community-x86_64/PKGBUILD
(from rev 1271122, haskell-configfile/trunk/PKGBUILD)

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

Copied: haskell-configfile/repos/community-x86_64/PKGBUILD (from rev 1271122, 
haskell-configfile/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-08-20 19:14:54 UTC (rev 1271123)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ConfigFile
+pkgname=haskell-configfile
+pkgver=1.1.4
+pkgrel=1
+pkgdesc="Configuration file reading & writing"
+url="http://software.complete.org/configfile";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-missingh')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('ae087b359ff2945a62b671449227e0a811d143ee651179f4e7e9c66548e0f514')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+-f-buildtests
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+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 COPYRIGHT -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/COPYRIGHT
+}



  1   2   3   4   5   6   >