[arch-commits] Commit in gap/repos/community-testing-x86_64 (4 files)

2018-11-07 Thread Antonio Rojas via arch-commits
Date: Thursday, November 8, 2018 @ 07:31:03
  Author: arojas
Revision: 403213

archrelease: copy trunk to community-testing-x86_64

Added:
  gap/repos/community-testing-x86_64/PKGBUILD
(from rev 403212, gap/trunk/PKGBUILD)
  gap/repos/community-testing-x86_64/gap-no-packages-by-default.patch
(from rev 403212, gap/trunk/gap-no-packages-by-default.patch)
Deleted:
  gap/repos/community-testing-x86_64/PKGBUILD
  gap/repos/community-testing-x86_64/gap-no-packages-by-default.patch

--+
 PKGBUILD |  176 ++---
 gap-no-packages-by-default.patch |   26 ++---
 2 files changed, 101 insertions(+), 101 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-08 07:30:30 UTC (rev 403212)
+++ PKGBUILD2018-11-08 07:31:03 UTC (rev 403213)
@@ -1,88 +0,0 @@
-# Maintainer: Antonio Rojas 
-# Contributor:  TDY 
-# Contributor: Rémy Oudompheng 
-
-pkgbase=gap
-pkgname=(gap gap-doc gap-packages)
-pkgver=4.10.0
-pkgrel=2
-pkgdesc="Groups, Algorithms, Programming: a system for computational discrete 
algebra"
-arch=(x86_64)
-url="https://www.gap-system.org/;
-license=(GPL)
-source=("https://www.gap-system.org/pub/gap/gap-${pkgver%.*}/tar.gz/gap-$pkgver.tar.gz;
 gap-no-packages-by-default.patch)
-sha256sums=('314b8d949c0bb01ef8bee199b29571d42714df660aba0d76ded254f58295904f'
-'e8f19968d998172b7c289d0499b8b8a05bc31119a1ce073181d3842ece6fe3a2')
-makedepends=(libxaw givaro mpfi normaliz boost c-xsc zeromq fplll polymake 
wget chrpath)
-
-prepare() {
-  cd gap-$pkgver
-
-# Use system normaliz
-  sed -e '/build-normaliz.sh/d' -i bin/BuildPackages.sh
-# Don't load any packages by default
-  patch -p1 -i ../gap-no-packages-by-default.patch
-# Disable anupq package, it's i686 only
-  rm -r pkg/anupq-*
-}
-
-build() {
-  cd gap-$pkgver
-  ./configure --prefix=/usr --with-gmp=system
-  make
-
-  cd pkg
-  export MAKEFLAGS='-j1' # Fix build of carat package
-  ../bin/BuildPackages.sh
-}
-
-package_gap() {
-  depends=(gmp)
-  optdepends=('gap-packages: extra packages' 'gap-doc: documentation')
-  conflicts=(libgap)
-  replaces=(gap-data)
-  cd gap-$pkgver
-
-  make DESTDIR="$pkgdir" install
-
-  mkdir -p "$pkgdir"/usr/lib/gap/pkg
-  cp -r grp lib "$pkgdir"/usr/lib/gap
-  cp -r pkg/{GAPDoc-*,primgrp-*,SmallGrp-*,transgrp} "$pkgdir"/usr/lib/gap/pkg
-  install -m755 gap -t "$pkgdir"/usr/lib/gap
-  sed -e "s|/build/gap/src/gap-$pkgver|/usr/lib/gap|g" bin/gap.sh > 
"$pkgdir"/usr/bin/gap
-  chmod 755 "$pkgdir"/usr/bin/gap
-
-# install missing header
-  cp gen/config.h "$pkgdir"/usr/include/gap
-}
-
-package_gap-doc() {
-  depends=(gap)
-  pkgdesc="Documentation for GAP"
-  cd gap-$pkgver
-
-  mkdir -p "$pkgdir"/usr/lib/gap
-  cp -r doc "$pkgdir"/usr/lib/gap
-}
-
-package_gap-packages() {
-  depends=(gap)
-  optdepends=('normaliz: Normaliz interface package' 'libxaw: xgap package' 
'c-xsc: float package' 'mpfi: float package'
-  'libmpc: float package' 'fplll: float package' 'zeromq: ZeroMQ 
interface package'
-  'polymake: Polymake interface package' 'curl: curl interface 
package')
-  pkgdesc="Extra packages for GAP"
-  cd gap-$pkgver
-
-  mkdir -p "$pkgdir"/usr/lib/gap
-  cp -r pkg "$pkgdir"/usr/lib/gap
-
-# provided by main gap package
-  rm -r "$pkgdir"/usr/lib/gap/pkg/{GAPDoc-*,primgrp-*,SmallGrp-*,transgrp}
-
-# fix RPATH
-  chrpath -r \$ORIGIN/../lib/ 
"$pkgdir"/usr/lib/gap/pkg/semigroups-*/bin/x86_64-pc-linux-gnu-default64/semigroups.so
-  chrpath -d 
"$pkgdir"/usr/lib/gap/pkg/NormalizInterface-*/bin/x86_64-pc-linux-gnu-default64/NormalizInterface.so
-
-# remove leftover binaries
-  find "$pkgdir"/usr/lib/gap/pkg -name .libs | xargs rm -r
-}

Copied: gap/repos/community-testing-x86_64/PKGBUILD (from rev 403212, 
gap/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-08 07:31:03 UTC (rev 403213)
@@ -0,0 +1,88 @@
+# Maintainer: Antonio Rojas 
+# Contributor:  TDY 
+# Contributor: Rémy Oudompheng 
+
+pkgbase=gap
+pkgname=(gap gap-doc gap-packages)
+pkgver=4.10.0
+pkgrel=3
+pkgdesc="Groups, Algorithms, Programming: a system for computational discrete 
algebra"
+arch=(x86_64)
+url="https://www.gap-system.org/;
+license=(GPL)
+source=("https://www.gap-system.org/pub/gap/gap-${pkgver%.*}/tar.gz/gap-$pkgver.tar.gz;
 gap-no-packages-by-default.patch)
+sha256sums=('314b8d949c0bb01ef8bee199b29571d42714df660aba0d76ded254f58295904f'
+'e8f19968d998172b7c289d0499b8b8a05bc31119a1ce073181d3842ece6fe3a2')
+makedepends=(libxaw givaro mpfi normaliz boost c-xsc zeromq fplll polymake 
wget chrpath)
+
+prepare() {
+  cd gap-$pkgver
+
+# Use system normaliz
+  sed -e '/build-normaliz.sh/d' -i bin/BuildPackages.sh
+# Don't load any packages by default
+  patch -p1 -i ../gap-no-packages-by-default.patch
+# Disable anupq package, it's i686 only
+  rm 

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

2018-11-07 Thread Antonio Rojas via arch-commits
Date: Thursday, November 8, 2018 @ 07:30:30
  Author: arojas
Revision: 403212

Don't install libgap for now, allows coinstallability with sagemath

Modified:
  gap/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 23:35:33 UTC (rev 403211)
+++ PKGBUILD2018-11-08 07:30:30 UTC (rev 403212)
@@ -5,7 +5,7 @@
 pkgbase=gap
 pkgname=(gap gap-doc gap-packages)
 pkgver=4.10.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Groups, Algorithms, Programming: a system for computational discrete 
algebra"
 arch=(x86_64)
 url="https://www.gap-system.org/;
@@ -39,13 +39,13 @@
 package_gap() {
   depends=(gmp)
   optdepends=('gap-packages: extra packages' 'gap-doc: documentation')
-  conflicts=(libgap)
+# conflicts=(libgap)
   replaces=(gap-data)
   cd gap-$pkgver
 
-  make DESTDIR="$pkgdir" install
+# make DESTDIR="$pkgdir" install
 
-  mkdir -p "$pkgdir"/usr/lib/gap/pkg
+  mkdir -p "$pkgdir"/usr/{bin,lib/gap/pkg}
   cp -r grp lib "$pkgdir"/usr/lib/gap
   cp -r pkg/{GAPDoc-*,primgrp-*,SmallGrp-*,transgrp} "$pkgdir"/usr/lib/gap/pkg
   install -m755 gap -t "$pkgdir"/usr/lib/gap
@@ -53,7 +53,7 @@
   chmod 755 "$pkgdir"/usr/bin/gap
 
 # install missing header
-  cp gen/config.h "$pkgdir"/usr/include/gap
+# cp gen/config.h "$pkgdir"/usr/include/gap
 }
 
 package_gap-doc() {


[arch-commits] Commit in brltty/repos/extra-x86_64 (8 files)

2018-11-07 Thread Antonio Rojas via arch-commits
Date: Thursday, November 8, 2018 @ 07:16:52
  Author: arojas
Revision: 338060

archrelease: copy trunk to extra-x86_64

Added:
  brltty/repos/extra-x86_64/PKGBUILD
(from rev 338059, brltty/trunk/PKGBUILD)
  brltty/repos/extra-x86_64/brltty.install
(from rev 338059, brltty/trunk/brltty.install)
  brltty/repos/extra-x86_64/brltty.service
(from rev 338059, brltty/trunk/brltty.service)
  brltty/repos/extra-x86_64/brltty.sysusers
(from rev 338059, brltty/trunk/brltty.sysusers)
Deleted:
  brltty/repos/extra-x86_64/PKGBUILD
  brltty/repos/extra-x86_64/brltty.install
  brltty/repos/extra-x86_64/brltty.service
  brltty/repos/extra-x86_64/brltty.sysusers

-+
 PKGBUILD|   90 +++---
 brltty.install  |   24 +++---
 brltty.service  |   24 +++---
 brltty.sysusers |2 -
 4 files changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-08 07:16:24 UTC (rev 338059)
+++ PKGBUILD2018-11-08 07:16:52 UTC (rev 338060)
@@ -1,45 +0,0 @@
-# Maintainer:
-# Contributor: Tom Gundersen 
-# Contributor: Jan de Groot 
-# Contributor: Giovanni Scafora 
-
-pkgname=brltty
-pkgver=5.6
-pkgrel=6
-pkgdesc="Braille display driver for Linux/Unix"
-arch=(x86_64)
-url="http://mielke.cc/brltty;
-license=(GPL LGPL)
-depends=(libxaw gpm icu tcl bluez-libs espeak)
-makedepends=(at-spi2-core tcl speech-dispatcher cython)
-optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
-'atk: ATK bridge for X11/GNOME accessibility'
-'speech-dispatcher: speech-dispatcher driver')
-backup=(etc/brltty.conf)
-options=('!emptydirs')
-install=brltty.install
-source=(http://mielke.cc/brltty/archive/brltty-$pkgver.tar.xz
-brltty.service brltty.sysusers)
-sha256sums=('6171258aca833bb2012afd9c63928573a48c3daab7b149a3e90001ba53beb80f'
-'a342a5e9d36f00a320e1d23d91c482bd5445af52588334307b7e9c09a8cc38ec'
-'8290ea5ac3f13a731d4dcc2b5e8355ff6a6c254e6d90d67dcc5dfb753780e060')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
---mandir=/usr/share/man \
---with-tables-directory=/usr/share/brltty \
---with-screen-driver=lx \
---enable-gpm \
---disable-java-bindings \
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-  install -Dm644 Documents/brltty.conf "$pkgdir/etc/brltty.conf"
-  install -Dm644 ../brltty.service 
"$pkgdir/usr/lib/systemd/system/brltty.service"
-  install -Dm644 ../brltty.sysusers "$pkgdir"/usr/lib/sysusers.d/brltty.conf
-}

Copied: brltty/repos/extra-x86_64/PKGBUILD (from rev 338059, 
brltty/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-08 07:16:52 UTC (rev 338060)
@@ -0,0 +1,45 @@
+# Maintainer:
+# Contributor: Tom Gundersen 
+# Contributor: Jan de Groot 
+# Contributor: Giovanni Scafora 
+
+pkgname=brltty
+pkgver=5.6
+pkgrel=7
+pkgdesc="Braille display driver for Linux/Unix"
+arch=(x86_64)
+url="http://mielke.cc/brltty;
+license=(GPL LGPL)
+depends=(libxaw gpm icu tcl bluez-libs espeak)
+makedepends=(at-spi2-core tcl speech-dispatcher cython)
+optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
+'atk: ATK bridge for X11/GNOME accessibility'
+'speech-dispatcher: speech-dispatcher driver')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=(http://mielke.cc/brltty/archive/brltty-$pkgver.tar.xz
+brltty.service brltty.sysusers)
+sha256sums=('6171258aca833bb2012afd9c63928573a48c3daab7b149a3e90001ba53beb80f'
+'a342a5e9d36f00a320e1d23d91c482bd5445af52588334307b7e9c09a8cc38ec'
+'0df1ab5cca644c6deb1090976a4e459243c15668fd5c3bafb278aa629878ec07')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+--mandir=/usr/share/man \
+--with-tables-directory=/usr/share/brltty \
+--with-screen-driver=lx \
+--enable-gpm \
+--disable-java-bindings \
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -Dm644 Documents/brltty.conf "$pkgdir/etc/brltty.conf"
+  install -Dm644 ../brltty.service 
"$pkgdir/usr/lib/systemd/system/brltty.service"
+  install -Dm644 ../brltty.sysusers "$pkgdir"/usr/lib/sysusers.d/brltty.conf
+}

Deleted: brltty.install
===
--- brltty.install  2018-11-08 07:16:24 UTC (rev 338059)
+++ brltty.install  2018-11-08 07:16:52 UTC (rev 338060)
@@ -1,12 +0,0 @@
-post_install () {
- if [ ! -e /etc/brlapi.key ]; then
- mcookie >/etc/brlapi.key
- chmod 0640 /etc/brlapi.key
- chgrp brlapi /etc/brlapi.key
- echo "Please add your user to the brlapi group."
- fi
-}
-

[arch-commits] Commit in brltty/trunk (PKGBUILD brltty.sysusers)

2018-11-07 Thread Antonio Rojas via arch-commits
Date: Thursday, November 8, 2018 @ 07:16:24
  Author: arojas
Revision: 338059

Remove GECOS field from sysusers file (FS#60740)

Modified:
  brltty/trunk/PKGBUILD
  brltty/trunk/brltty.sysusers

-+
 PKGBUILD|4 ++--
 brltty.sysusers |2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-08 05:10:17 UTC (rev 338058)
+++ PKGBUILD2018-11-08 07:16:24 UTC (rev 338059)
@@ -5,7 +5,7 @@
 
 pkgname=brltty
 pkgver=5.6
-pkgrel=6
+pkgrel=7
 pkgdesc="Braille display driver for Linux/Unix"
 arch=(x86_64)
 url="http://mielke.cc/brltty;
@@ -22,7 +22,7 @@
 brltty.service brltty.sysusers)
 sha256sums=('6171258aca833bb2012afd9c63928573a48c3daab7b149a3e90001ba53beb80f'
 'a342a5e9d36f00a320e1d23d91c482bd5445af52588334307b7e9c09a8cc38ec'
-'8290ea5ac3f13a731d4dcc2b5e8355ff6a6c254e6d90d67dcc5dfb753780e060')
+'0df1ab5cca644c6deb1090976a4e459243c15668fd5c3bafb278aa629878ec07')
 
 build() {
   cd $pkgname-$pkgver

Modified: brltty.sysusers
===
--- brltty.sysusers 2018-11-08 05:10:17 UTC (rev 338058)
+++ brltty.sysusers 2018-11-08 07:16:24 UTC (rev 338059)
@@ -1 +1 @@
-g brlapi - "brltty group"
+g brlapi -


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

2018-11-07 Thread Sébastien Luttringer via arch-commits
Date: Thursday, November 8, 2018 @ 05:10:17
  Author: seblu
Revision: 338058

archrelease: copy trunk to testing-x86_64

Added:
  ipset/repos/testing-x86_64/
  ipset/repos/testing-x86_64/PKGBUILD
(from rev 338057, ipset/trunk/PKGBUILD)
  ipset/repos/testing-x86_64/ipset.service
(from rev 338057, ipset/trunk/ipset.service)

---+
 PKGBUILD  |   54 ++
 ipset.service |   14 ++
 2 files changed, 68 insertions(+)

Copied: ipset/repos/testing-x86_64/PKGBUILD (from rev 338057, 
ipset/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-08 05:10:17 UTC (rev 338058)
@@ -0,0 +1,54 @@
+# Maintainer: Sébastien Luttringer
+
+pkgname=ipset
+pkgver=7.0
+pkgrel=1
+pkgdesc='Administration tool for IP sets'
+arch=('x86_64')
+url='http://ipset.netfilter.org/'
+license=('GPL2')
+depends=('glibc' 'libmnl')
+backup=("etc/$pkgname.conf")
+source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2;
+"$pkgname.service")
+md5sums=('64c4e2e7123481c9db7ee1df127d9531'
+ 'e20fe62881993078591f1bb8b2fa22bb')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+  # needed because we patch configure.ac (TO BE REMOVED)
+  ./autogen.sh
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  # install doc
+  install -dm755 "$pkgdir/usr/share/doc/$pkgname"
+  install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
+  # install pkgconfig file
+  install -Dm644 lib/libipset.pc "$pkgdir/usr/lib/pkgconfig/libipset.pc"
+  popd
+  # systemd
+  install -Dm 644 $pkgname.service \
+"$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  # default config file
+  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: ipset/repos/testing-x86_64/ipset.service (from rev 338057, 
ipset/trunk/ipset.service)
===
--- testing-x86_64/ipset.service(rev 0)
+++ testing-x86_64/ipset.service2018-11-08 05:10:17 UTC (rev 338058)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Loading IP Sets
+Before=network-pre.target iptables.service ip6tables.service
+Wants=network-pre.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/ipset -f /etc/ipset.conf restore
+ExecReload=/usr/bin/ipset -f /etc/ipset.conf restore
+ExecStop=/usr/bin/ipset destroy
+
+[Install]
+WantedBy=multi-user.target


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

2018-11-07 Thread Sébastien Luttringer via arch-commits
Date: Thursday, November 8, 2018 @ 05:10:12
  Author: seblu
Revision: 338057

upgpkg: ipset 7.0-1

Modified:
  ipset/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-08 04:57:05 UTC (rev 338056)
+++ PKGBUILD2018-11-08 05:10:12 UTC (rev 338057)
@@ -1,7 +1,7 @@
 # Maintainer: Sébastien Luttringer
 
 pkgname=ipset
-pkgver=6.38
+pkgver=7.0
 pkgrel=1
 pkgdesc='Administration tool for IP sets'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 backup=("etc/$pkgname.conf")
 source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2;
 "$pkgname.service")
-md5sums=('0e5d9c85f6b78e7dff0c996e2900574b'
+md5sums=('64c4e2e7123481c9db7ee1df127d9531'
  'e20fe62881993078591f1bb8b2fa22bb')
 
 prepare() {
@@ -35,10 +35,6 @@
   make
 }
 
-check() {
-  $pkgname-$pkgver/src/ipset version
-}
-
 package() {
   pushd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install


[arch-commits] Commit in btrfs-progs/repos (15 files)

2018-11-07 Thread Sébastien Luttringer via arch-commits
Date: Thursday, November 8, 2018 @ 04:57:05
  Author: seblu
Revision: 338056

db-move: moved btrfs-progs from [testing] to [core] (x86_64)

Added:
  btrfs-progs/repos/core-x86_64/FS#58237.patch
(from rev 338055, btrfs-progs/repos/testing-x86_64/FS#58237.patch)
  btrfs-progs/repos/core-x86_64/PKGBUILD
(from rev 338055, btrfs-progs/repos/testing-x86_64/PKGBUILD)
  btrfs-progs/repos/core-x86_64/btrfs-progs.install
(from rev 338055, btrfs-progs/repos/testing-x86_64/btrfs-progs.install)
  btrfs-progs/repos/core-x86_64/btrfs-scrub@.service
(from rev 338055, btrfs-progs/repos/testing-x86_64/btrfs-scrub@.service)
  btrfs-progs/repos/core-x86_64/btrfs-scrub@.timer
(from rev 338055, btrfs-progs/repos/testing-x86_64/btrfs-scrub@.timer)
  btrfs-progs/repos/core-x86_64/initcpio-hook-btrfs
(from rev 338055, btrfs-progs/repos/testing-x86_64/initcpio-hook-btrfs)
  btrfs-progs/repos/core-x86_64/initcpio-install-btrfs
(from rev 338055, btrfs-progs/repos/testing-x86_64/initcpio-install-btrfs)
Deleted:
  btrfs-progs/repos/core-x86_64/FS#58237.patch
  btrfs-progs/repos/core-x86_64/PKGBUILD
  btrfs-progs/repos/core-x86_64/btrfs-progs.install
  btrfs-progs/repos/core-x86_64/btrfs-scrub@.service
  btrfs-progs/repos/core-x86_64/btrfs-scrub@.timer
  btrfs-progs/repos/core-x86_64/initcpio-hook-btrfs
  btrfs-progs/repos/core-x86_64/initcpio-install-btrfs
  btrfs-progs/repos/testing-x86_64/

+
 /FS#58237.patch|   16 +
 /PKGBUILD  |   61 ++
 /btrfs-progs.install   |   15 
 /btrfs-scrub@.service  |8 
 /btrfs-scrub@.timer|   10 +
 /initcpio-hook-btrfs   |7 +++
 /initcpio-install-btrfs|   17 +
 core-x86_64/FS#58237.patch |   16 -
 core-x86_64/PKGBUILD   |   62 ---
 core-x86_64/btrfs-progs.install|   15 
 core-x86_64/btrfs-scrub@.service   |8 
 core-x86_64/btrfs-scrub@.timer |   10 -
 core-x86_64/initcpio-hook-btrfs|7 ---
 core-x86_64/initcpio-install-btrfs |   17 -
 14 files changed, 134 insertions(+), 135 deletions(-)

Deleted: core-x86_64/FS#58237.patch
===
--- core-x86_64/FS#58237.patch  2018-11-08 00:49:45 UTC (rev 338055)
+++ core-x86_64/FS#58237.patch  2018-11-08 04:57:05 UTC (rev 338056)
@@ -1,16 +0,0 @@
-diff --git a/utils.c b/utils.c
-index e9cb3a82f..f867e5a7f 100644
 a/utils.c
-+++ b/utils.c
-@@ -2484,11 +2484,6 @@ const char *subvol_strip_mountpoint(const char *mnt, 
const char *full_path)
-   if (!len)
-   return full_path;
- 
--  if ((strncmp(mnt, full_path, len) != 0) || (full_path[len] != '/')) {
--  error("not on mount point: %s", mnt);
--  exit(1);
--  }
--
-   if (mnt[len - 1] != '/')
-   len += 1;
- 

Copied: btrfs-progs/repos/core-x86_64/FS#58237.patch (from rev 338055, 
btrfs-progs/repos/testing-x86_64/FS#58237.patch)
===
--- core-x86_64/FS#58237.patch  (rev 0)
+++ core-x86_64/FS#58237.patch  2018-11-08 04:57:05 UTC (rev 338056)
@@ -0,0 +1,16 @@
+diff --git a/utils.c b/utils.c
+index e9cb3a82f..f867e5a7f 100644
+--- a/utils.c
 b/utils.c
+@@ -2484,11 +2484,6 @@ const char *subvol_strip_mountpoint(const char *mnt, 
const char *full_path)
+   if (!len)
+   return full_path;
+ 
+-  if ((strncmp(mnt, full_path, len) != 0) || (full_path[len] != '/')) {
+-  error("not on mount point: %s", mnt);
+-  exit(1);
+-  }
+-
+   if (mnt[len - 1] != '/')
+   len += 1;
+ 

Deleted: core-x86_64/PKGBUILD
===
--- core-x86_64/PKGBUILD2018-11-08 00:49:45 UTC (rev 338055)
+++ core-x86_64/PKGBUILD2018-11-08 04:57:05 UTC (rev 338056)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer 
-# Contributor: Tom Gundersen 
-# Contributor: Tobias Powalowski 
-
-pkgname=btrfs-progs
-pkgver=4.17.1
-pkgrel=1
-pkgdesc='Btrfs filesystem utilities'
-arch=('x86_64')
-makedepends=('git' 'asciidoc' 'xmlto' 'systemd' 'python' 'python-setuptools')
-depends=('glibc' 'libutil-linux' 'e2fsprogs' 'lzo' 'zlib' 'zstd')
-optdepends=('python: libbtrfsutil python bindings')
-url='https://btrfs.wiki.kernel.org'
-replaces=('btrfs-progs-unstable')
-conflicts=('btrfs-progs-unstable')
-provides=('btrfs-progs-unstable')
-license=('GPL2')
-validpgpkeys=('F2B41200C54EFB30380C1756C565D5F9D76D583B')
-source=("https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v$pkgver.tar."{sign,xz}
-'initcpio-install-btrfs'
-'initcpio-hook-btrfs'
-'btrfs-scrub@.service'
-'btrfs-scrub@.timer')

[arch-commits] Commit in vala/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-11-07 Thread Jan Steffens via arch-commits
Date: Thursday, November 8, 2018 @ 00:49:45
  Author: heftig
Revision: 338055

archrelease: copy trunk to extra-x86_64

Added:
  vala/repos/extra-x86_64/PKGBUILD
(from rev 338054, vala/trunk/PKGBUILD)
Deleted:
  vala/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |   98 ++---
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-08 00:49:33 UTC (rev 338054)
+++ PKGBUILD2018-11-08 00:49:45 UTC (rev 338055)
@@ -1,49 +0,0 @@
-# Maintainer: Levente Polyak 
-# Contributor: Ionut Biru 
-# Contributor: Timm Preetz 
-
-pkgname=vala
-pkgver=0.42.2
-pkgrel=1
-pkgdesc='Compiler for the GObject type system'
-url='https://wiki.gnome.org/Projects/Vala'
-arch=(x86_64)
-license=(LGPL)
-depends=(glib2 gtk-doc graphviz ttf-font pkg-config gcc)
-makedepends=(libxslt vala git help2man)
-checkdepends=(dbus libx11 gobject-introspection)
-provides=(valadoc)
-conflicts=(valadoc)
-replaces=(valadoc)
-_commit=50c1c3f0f31ed27fc91e16de672cb2fc439ac36a  # tags/0.42.2^0
-source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit;)
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: vala/repos/extra-x86_64/PKGBUILD (from rev 338054, vala/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-08 00:49:45 UTC (rev 338055)
@@ -0,0 +1,49 @@
+# Maintainer: Levente Polyak 
+# Contributor: Ionut Biru 
+# Contributor: Timm Preetz 
+
+pkgname=vala
+pkgver=0.42.3
+pkgrel=1
+pkgdesc='Compiler for the GObject type system'
+url='https://wiki.gnome.org/Projects/Vala'
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 gtk-doc graphviz ttf-font pkg-config gcc)
+makedepends=(libxslt vala git help2man)
+checkdepends=(dbus libx11 gobject-introspection)
+provides=(valadoc)
+conflicts=(valadoc)
+replaces=(valadoc)
+_commit=7beb4b6436c16492e0aa26c42c9067066b04bdd4  # tags/0.42.3^0
+source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit;)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}
+
+# vim: ts=2 sw=2 et:


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

2018-11-07 Thread Jan Steffens via arch-commits
Date: Thursday, November 8, 2018 @ 00:49:33
  Author: heftig
Revision: 338054

0.42.3-1

Modified:
  vala/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 22:07:56 UTC (rev 338053)
+++ PKGBUILD2018-11-08 00:49:33 UTC (rev 338054)
@@ -3,7 +3,7 @@
 # Contributor: Timm Preetz 
 
 pkgname=vala
-pkgver=0.42.2
+pkgver=0.42.3
 pkgrel=1
 pkgdesc='Compiler for the GObject type system'
 url='https://wiki.gnome.org/Projects/Vala'
@@ -15,7 +15,7 @@
 provides=(valadoc)
 conflicts=(valadoc)
 replaces=(valadoc)
-_commit=50c1c3f0f31ed27fc91e16de672cb2fc439ac36a  # tags/0.42.2^0
+_commit=7beb4b6436c16492e0aa26c42c9067066b04bdd4  # tags/0.42.3^0
 source=("git+https://gitlab.gnome.org/GNOME/vala.git#commit=$_commit;)
 sha256sums=('SKIP')
 


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

2018-11-07 Thread Christian Hesse via arch-commits
Date: Wednesday, November 7, 2018 @ 23:35:33
  Author: eworm
Revision: 403211

archrelease: copy trunk to community-testing-x86_64

Added:
  libmicrohttpd/repos/community-testing-x86_64/
  libmicrohttpd/repos/community-testing-x86_64/0001-fix-tests-with-curl.patch
(from rev 403210, libmicrohttpd/trunk/0001-fix-tests-with-curl.patch)
  libmicrohttpd/repos/community-testing-x86_64/PKGBUILD
(from rev 403210, libmicrohttpd/trunk/PKGBUILD)

+
 0001-fix-tests-with-curl.patch |   50 
 PKGBUILD   |   53 +++
 2 files changed, 103 insertions(+)

Copied: 
libmicrohttpd/repos/community-testing-x86_64/0001-fix-tests-with-curl.patch 
(from rev 403210, libmicrohttpd/trunk/0001-fix-tests-with-curl.patch)
===
--- community-testing-x86_64/0001-fix-tests-with-curl.patch 
(rev 0)
+++ community-testing-x86_64/0001-fix-tests-with-curl.patch 2018-11-07 
23:35:33 UTC (rev 403211)
@@ -0,0 +1,50 @@
+From 7ae5cf2b850a9fcdc5628a09c75a250f8bd6f293 Mon Sep 17 00:00:00 2001
+From: Christian Hesse 
+Date: Thu, 8 Nov 2018 00:15:29 +0100
+Subject: [PATCH 1/1] fix tests with curl
+
+Starting with curl 7.62.0 some tests fail. The commit in question is
+46e16406 [0] ("url: use the URL API internally as well").
+
+Analyzing the changed behavior reveals that the url given to
+curl_easy_setopt() with CURLOPT_URL is no longer encoded. Looking at the
+documentation [1] this behavior is correct, the "parameter should be a
+char * to a zero terminated string which must be URL-encoded [...]".
+
+So let's just give a valid url...
+
+[0] 
https://github.com/curl/curl/commit/46e164069d1a5230e4e64cbd2ff46c46cce056bb
+[1] https://curl.haxx.se/libcurl/c/CURLOPT_URL.html
+
+Signed-off-by: Christian Hesse 
+---
+ src/testcurl/test_digestauth.c| 2 +-
+ src/testcurl/test_digestauth_with_arguments.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c
+index 48c7a87a..89076608 100644
+--- a/src/testcurl/test_digestauth.c
 b/src/testcurl/test_digestauth.c
+@@ -218,7 +218,7 @@ testDigestAuth ()
+ { MHD_stop_daemon (d); return 32; }
+   port = (int)dinfo->port;
+ }
+-  sprintf(url, "http://127.0.0.1:%d/bar%%20 foo?a=bü%%20", port);
++  sprintf(url, "http://127.0.0.1:%d/bar%20foo%3Fkey%3Dvalue;, port);
+   c = curl_easy_init ();
+   curl_easy_setopt (c, CURLOPT_URL, url);
+   curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, );
+diff --git a/src/testcurl/test_digestauth_with_arguments.c 
b/src/testcurl/test_digestauth_with_arguments.c
+index 107d2256..17d0f7a2 100644
+--- a/src/testcurl/test_digestauth_with_arguments.c
 b/src/testcurl/test_digestauth_with_arguments.c
+@@ -213,7 +213,7 @@ testDigestAuth ()
+ { MHD_stop_daemon (d); return 32; }
+   port = (int)dinfo->port;
+ }
+-  sprintf(url, "http://127.0.0.1:%d/foo?key=value;, port);
++  sprintf(url, "http://127.0.0.1:%d/bar%20foo%3Fkey%3Dvalue;, port);
+   c = curl_easy_init ();
+   curl_easy_setopt (c, CURLOPT_URL, url);
+   curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, );

Copied: libmicrohttpd/repos/community-testing-x86_64/PKGBUILD (from rev 403210, 
libmicrohttpd/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-11-07 23:35:33 UTC (rev 403211)
@@ -0,0 +1,53 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Norberto Lopes 
+# Contributor: Kao Dome 
+# Contributor: Dmitrij D. Czarkoff 
+# Contributor: Mathias Rohnstock 
+
+pkgname=libmicrohttpd
+pkgver=0.9.60
+pkgrel=1
+pkgdesc="a small C library that is supposed to make it easy to run an HTTP 
server as part of another application."
+arch=('x86_64')
+url="http://www.gnu.org/software/libmicrohttpd/;
+license=('LGPL')
+depends=('gnutls')
+checkdepends=('curl')
+validpgpkeys=('289FE99E138CF6D473A3F0CFBF7AC4A5EAC2BAF4'  # Evgeny Grin 
(Karlson2k) 
+  'D8423BCB326C7907033929C7939E6BE1E29FC3CC') # Christian Grothoff 

+source=("https://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"{,.sig}
+'0001-fix-tests-with-curl.patch')
+sha256sums=('cd0e5d3f95a9e55ef7cdf4d0530e997ba00b8411af9149d9287db785d729c471'
+'SKIP'
+'750224c97e9a7f504869bd1e54d58dcb447e35bc831812adeb3f8f8edfb88cbe')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # fix tests with curl
+  patch -Np1 < ../0001-fix-tests-with-curl.patch  
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+--prefix=/usr \
+--disable-dependency-tracking \
+--disable-examples \
+--enable-curl \
+--enable-https \
+--enable-largefile \
+--enable-messages \
+--with-pic
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check

[arch-commits] Commit in libmicrohttpd/trunk (0001-fix-tests-with-curl.patch PKGBUILD)

2018-11-07 Thread Christian Hesse via arch-commits
Date: Wednesday, November 7, 2018 @ 23:35:25
  Author: eworm
Revision: 403210

upgpkg: libmicrohttpd 0.9.60-1

new upstream release

Added:
  libmicrohttpd/trunk/0001-fix-tests-with-curl.patch
Modified:
  libmicrohttpd/trunk/PKGBUILD

+
 0001-fix-tests-with-curl.patch |   50 +++
 PKGBUILD   |   17 ++---
 2 files changed, 63 insertions(+), 4 deletions(-)

Added: 0001-fix-tests-with-curl.patch
===
--- 0001-fix-tests-with-curl.patch  (rev 0)
+++ 0001-fix-tests-with-curl.patch  2018-11-07 23:35:25 UTC (rev 403210)
@@ -0,0 +1,50 @@
+From 7ae5cf2b850a9fcdc5628a09c75a250f8bd6f293 Mon Sep 17 00:00:00 2001
+From: Christian Hesse 
+Date: Thu, 8 Nov 2018 00:15:29 +0100
+Subject: [PATCH 1/1] fix tests with curl
+
+Starting with curl 7.62.0 some tests fail. The commit in question is
+46e16406 [0] ("url: use the URL API internally as well").
+
+Analyzing the changed behavior reveals that the url given to
+curl_easy_setopt() with CURLOPT_URL is no longer encoded. Looking at the
+documentation [1] this behavior is correct, the "parameter should be a
+char * to a zero terminated string which must be URL-encoded [...]".
+
+So let's just give a valid url...
+
+[0] 
https://github.com/curl/curl/commit/46e164069d1a5230e4e64cbd2ff46c46cce056bb
+[1] https://curl.haxx.se/libcurl/c/CURLOPT_URL.html
+
+Signed-off-by: Christian Hesse 
+---
+ src/testcurl/test_digestauth.c| 2 +-
+ src/testcurl/test_digestauth_with_arguments.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c
+index 48c7a87a..89076608 100644
+--- a/src/testcurl/test_digestauth.c
 b/src/testcurl/test_digestauth.c
+@@ -218,7 +218,7 @@ testDigestAuth ()
+ { MHD_stop_daemon (d); return 32; }
+   port = (int)dinfo->port;
+ }
+-  sprintf(url, "http://127.0.0.1:%d/bar%%20 foo?a=bü%%20", port);
++  sprintf(url, "http://127.0.0.1:%d/bar%20foo%3Fkey%3Dvalue;, port);
+   c = curl_easy_init ();
+   curl_easy_setopt (c, CURLOPT_URL, url);
+   curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, );
+diff --git a/src/testcurl/test_digestauth_with_arguments.c 
b/src/testcurl/test_digestauth_with_arguments.c
+index 107d2256..17d0f7a2 100644
+--- a/src/testcurl/test_digestauth_with_arguments.c
 b/src/testcurl/test_digestauth_with_arguments.c
+@@ -213,7 +213,7 @@ testDigestAuth ()
+ { MHD_stop_daemon (d); return 32; }
+   port = (int)dinfo->port;
+ }
+-  sprintf(url, "http://127.0.0.1:%d/foo?key=value;, port);
++  sprintf(url, "http://127.0.0.1:%d/bar%20foo%3Fkey%3Dvalue;, port);
+   c = curl_easy_init ();
+   curl_easy_setopt (c, CURLOPT_URL, url);
+   curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, );

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 23:05:54 UTC (rev 403209)
+++ PKGBUILD2018-11-07 23:35:25 UTC (rev 403210)
@@ -5,7 +5,7 @@
 # Contributor: Mathias Rohnstock 
 
 pkgname=libmicrohttpd
-pkgver=0.9.59
+pkgver=0.9.60
 pkgrel=1
 pkgdesc="a small C library that is supposed to make it easy to run an HTTP 
server as part of another application."
 arch=('x86_64')
@@ -15,10 +15,19 @@
 checkdepends=('curl')
 validpgpkeys=('289FE99E138CF6D473A3F0CFBF7AC4A5EAC2BAF4'  # Evgeny Grin 
(Karlson2k) 
   'D8423BCB326C7907033929C7939E6BE1E29FC3CC') # Christian Grothoff 

-source=("https://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"{,.sig})
-sha256sums=('9b9ccd7d0b11b0e179f1f58dc2caa3e0c62c8609e1e1dc7dcaadf941b67d923c'
-'SKIP')
+source=("https://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz"{,.sig}
+'0001-fix-tests-with-curl.patch')
+sha256sums=('cd0e5d3f95a9e55ef7cdf4d0530e997ba00b8411af9149d9287db785d729c471'
+'SKIP'
+'750224c97e9a7f504869bd1e54d58dcb447e35bc831812adeb3f8f8edfb88cbe')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # fix tests with curl
+  patch -Np1 < ../0001-fix-tests-with-curl.patch  
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./configure \


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

2018-11-07 Thread Massimiliano Torromeo via arch-commits
Date: Wednesday, November 7, 2018 @ 23:05:54
  Author: mtorromeo
Revision: 403209

archrelease: copy trunk to community-x86_64

Added:
  libdwarf/repos/community-x86_64/PKGBUILD
(from rev 403208, libdwarf/trunk/PKGBUILD)
Deleted:
  libdwarf/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 23:05:39 UTC (rev 403208)
+++ PKGBUILD2018-11-07 23:05:54 UTC (rev 403209)
@@ -1,34 +0,0 @@
-# Maintainer: Massimiliano Torromeo 
-# Contributor: Alain Kalker 
-# Contributor: Marti Raudsepp 
-
-pkgname=libdwarf
-pkgver=20180809
-pkgrel=2
-pkgdesc="A library for handling DWARF Debugging Information Format"
-arch=(x86_64)
-license=('GPL' 'LGPL')
-url="https://www.prevanders.net/dwarf.html;
-depends=('elfutils')
-options+=('staticlibs')
-source=(https://www.prevanders.net/libdwarf-$pkgver.tar.gz)
-sha512sums=('3c1a97e5b0bae0f18d02402c7b67b1e74aacd26b68b738afe5be8e446bdbdd9b1189658779b8c65cddba40dbd7848d40510c03eec258708956209b2d76f5dd66')
-
-build() {
-  cd "$srcdir"/libdwarf-$pkgver
-  ./configure --prefix=/usr --includedir=/usr/include/libdwarf --enable-shared
-  make
-}
-
-check() {
-  cd "$srcdir"/libdwarf-$pkgver
-  make check
-}
-
-package() {
-  cd "$srcdir"/libdwarf-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  install -dm755 "$pkgdir"/usr/share/doc/$pkgname
-  install -m644 README NEWS "$pkgdir"/usr/share/doc/$pkgname/
-}

Copied: libdwarf/repos/community-x86_64/PKGBUILD (from rev 403208, 
libdwarf/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 23:05:54 UTC (rev 403209)
@@ -0,0 +1,34 @@
+# Maintainer: Massimiliano Torromeo 
+# Contributor: Alain Kalker 
+# Contributor: Marti Raudsepp 
+
+pkgname=libdwarf
+pkgver=20181024
+pkgrel=1
+pkgdesc="A library for handling DWARF Debugging Information Format"
+arch=(x86_64)
+license=('GPL' 'LGPL')
+url="https://www.prevanders.net/dwarf.html;
+depends=('elfutils')
+options+=('staticlibs')
+source=(https://www.prevanders.net/libdwarf-$pkgver.tar.gz)
+sha512sums=('134f8639c4a2ddf012ab196551bcc9afc65c729b36299ebf807de94561fe878473ea58443d33daaa96f008b28dd169ab29f65616e9f1e44a6e7921cfde6e3f19')
+
+build() {
+  cd "$srcdir"/libdwarf-$pkgver
+  ./configure --prefix=/usr --includedir=/usr/include/libdwarf --enable-shared
+  make
+}
+
+check() {
+  cd "$srcdir"/libdwarf-$pkgver
+  make check
+}
+
+package() {
+  cd "$srcdir"/libdwarf-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -dm755 "$pkgdir"/usr/share/doc/$pkgname
+  install -m644 README NEWS "$pkgdir"/usr/share/doc/$pkgname/
+}


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

2018-11-07 Thread Massimiliano Torromeo via arch-commits
Date: Wednesday, November 7, 2018 @ 23:05:39
  Author: mtorromeo
Revision: 403208

upgpkg: libdwarf 20181024-1

Modified:
  libdwarf/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 21:39:55 UTC (rev 403207)
+++ PKGBUILD2018-11-07 23:05:39 UTC (rev 403208)
@@ -3,8 +3,8 @@
 # Contributor: Marti Raudsepp 
 
 pkgname=libdwarf
-pkgver=20180809
-pkgrel=2
+pkgver=20181024
+pkgrel=1
 pkgdesc="A library for handling DWARF Debugging Information Format"
 arch=(x86_64)
 license=('GPL' 'LGPL')
@@ -12,7 +12,7 @@
 depends=('elfutils')
 options+=('staticlibs')
 source=(https://www.prevanders.net/libdwarf-$pkgver.tar.gz)
-sha512sums=('3c1a97e5b0bae0f18d02402c7b67b1e74aacd26b68b738afe5be8e446bdbdd9b1189658779b8c65cddba40dbd7848d40510c03eec258708956209b2d76f5dd66')
+sha512sums=('134f8639c4a2ddf012ab196551bcc9afc65c729b36299ebf807de94561fe878473ea58443d33daaa96f008b28dd169ab29f65616e9f1e44a6e7921cfde6e3f19')
 
 build() {
   cd "$srcdir"/libdwarf-$pkgver


[arch-commits] Commit in bc/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-11-07 Thread Jelle van der Waa via arch-commits
Date: Wednesday, November 7, 2018 @ 22:07:56
  Author: jelle
Revision: 338053

archrelease: copy trunk to extra-x86_64

Added:
  bc/repos/extra-x86_64/PKGBUILD
(from rev 338052, bc/trunk/PKGBUILD)
Deleted:
  bc/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |   69 ++---
 1 file changed, 34 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 22:07:39 UTC (rev 338052)
+++ PKGBUILD2018-11-07 22:07:56 UTC (rev 338053)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: dorphell 
-
-pkgname=bc
-pkgver=1.07.1
-pkgrel=1
-pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
-url="https://www.gnu.org/software/bc/;
-license=('GPL')
-depends=('readline')
-makedepends=('ed')
-replaces=('bc-readline')
-conflicts=('bc-readline')
-source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha256sums=('62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a'
-'SKIP')
-validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson 

-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --mandir=/usr/share/man \
---infodir=/usr/share/info --with-readline
-  make -j1
-}
-
-check () {
-  cd "${pkgname}-${pkgver}"
-  echo "quit" | ./bc/bc -l Test/checklib.b
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: bc/repos/extra-x86_64/PKGBUILD (from rev 338052, bc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 22:07:56 UTC (rev 338053)
@@ -0,0 +1,34 @@
+# Maintainer: dorphell 
+
+pkgname=bc
+pkgver=1.07.1
+pkgrel=2
+pkgdesc="An arbitrary precision calculator language"
+arch=('x86_64')
+url="https://www.gnu.org/software/bc/;
+license=('GPL')
+depends=('readline')
+makedepends=('ed')
+replaces=('bc-readline')
+conflicts=('bc-readline')
+source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha256sums=('62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a'
+'SKIP')
+validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson 

+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --mandir=/usr/share/man \
+--infodir=/usr/share/info --with-readline
+  make -j1
+}
+
+check () {
+  cd "${pkgname}-${pkgver}"
+  echo "quit" | ./bc/bc -l Test/checklib.b
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}


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

2018-11-07 Thread Jelle van der Waa via arch-commits
Date: Wednesday, November 7, 2018 @ 22:07:39
  Author: jelle
Revision: 338052

upgpkg: bc 1.07.1-2

PIE/BUILDINFO rebuild

Modified:
  bc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:27:45 UTC (rev 338051)
+++ PKGBUILD2018-11-07 22:07:39 UTC (rev 338052)
@@ -2,7 +2,7 @@
 
 pkgname=bc
 pkgver=1.07.1
-pkgrel=1
+pkgrel=2
 pkgdesc="An arbitrary precision calculator language"
 arch=('x86_64')
 url="https://www.gnu.org/software/bc/;


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

2018-11-07 Thread Antonio Rojas via arch-commits
Date: Wednesday, November 7, 2018 @ 21:39:10
  Author: arojas
Revision: 403206

Add m4rie dependency, no longer pulled by linbox

Modified:
  sagemath/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:53:24 UTC (rev 403205)
+++ PKGBUILD2018-11-07 21:39:10 UTC (rev 403206)
@@ -8,7 +8,7 @@
 pkgbase=sagemath
 pkgname=(sagemath sagemath-jupyter)
 pkgver=8.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Open Source Mathematics Software, free alternative to Magma, Maple, 
Mathematica, and Matlab"
 arch=(x86_64)
 url="http://www.sagemath.org;
@@ -15,7 +15,7 @@
 license=(GPL)
 depends=(ipython2 ppl palp brial cliquer maxima-ecl gfan sympow nauty 
python2-rpy2 python2-fpylll python2-psutil python2-cypari2
   python2-matplotlib python2-scipy python2-sympy python2-networkx 
python2-pillow python2-future libgap flintqs lcalc lrcalc arb
-  eclib gmp-ecm zn_poly gd python2-cvxopt pynac linbox rubiks pari-galdata 
pari-seadata-small planarity rankwidth tachyon
+  eclib gmp-ecm zn_poly gd python2-cvxopt pynac linbox m4rie rubiks 
pari-galdata pari-seadata-small planarity rankwidth tachyon
   sage-data-combinatorial_designs sage-data-elliptic_curves sage-data-graphs 
sage-data-polytopes_db sage-data-conway_polynomials
   libgiac libhomfly libbraiding three.js openblas)
 optdepends=('cython2: to compile cython code' 'python2-pkgconfig: to compile 
cython code'


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:51:34
  Author: felixonmars
Revision: 403202

upgpkg: xmonad-utils 0.1.3.3-11

rebuild with ghc 8.6.2

Modified:
  xmonad-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:50:38 UTC (rev 403201)
+++ PKGBUILD2018-11-07 20:51:34 UTC (rev 403202)
@@ -3,7 +3,7 @@
 
 pkgname=xmonad-utils
 pkgver=0.1.3.3
-pkgrel=10
+pkgrel=11
 pkgdesc='Small collection of X utilities'
 url='http://hackage.haskell.org/package/xmonad-utils'
 arch=('x86_64')


[arch-commits] Commit in xmonad-utils/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:51:51
  Author: felixonmars
Revision: 403203

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad-utils/repos/community-staging-x86_64/
  xmonad-utils/repos/community-staging-x86_64/PKGBUILD
(from rev 403202, xmonad-utils/trunk/PKGBUILD)

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

Copied: xmonad-utils/repos/community-staging-x86_64/PKGBUILD (from rev 403202, 
xmonad-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:51:51 UTC (rev 403203)
@@ -0,0 +1,35 @@
+# Maintainer: Levente Polyak 
+# Contributor: Leif Warner 
+
+pkgname=xmonad-utils
+pkgver=0.1.3.3
+pkgrel=11
+pkgdesc='Small collection of X utilities'
+url='http://hackage.haskell.org/package/xmonad-utils'
+arch=('x86_64')
+license=('custom:BSD3')
+depends=('ghc-libs' 'gmp' 'libffi' 'libxrandr' 'haskell-x11' 'haskell-random' 
'haskell-unix')
+makedepends=('ghc')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('45a5db08e2e8fce4a11f929107c29d5073b897cbe83af0ea24ee2e691b72e2f8')
+sha512sums=('f969a0b75107266ec5f74edc06075a1ede72857311d8e0494bf5b567d18e0a9d6e5b046dbb2a34783c2eafc18be9576b86aa78415306974718031a7dd652418c')
+
+build() {
+  cd ${pkgname}-${pkgver}
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  runhaskell Setup copy --destdir="${pkgdir}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  rm "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in xmonad-contrib/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:50:38
  Author: felixonmars
Revision: 403201

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad-contrib/repos/community-staging-x86_64/
  xmonad-contrib/repos/community-staging-x86_64/PKGBUILD
(from rev 403200, xmonad-contrib/trunk/PKGBUILD)

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

Copied: xmonad-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 
403200, xmonad-contrib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:50:38 UTC (rev 403201)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributor: Sergej Pupykin 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: orbisvicis 
+
+pkgname=xmonad-contrib
+pkgver=0.15
+pkgrel=3
+pkgdesc='Add-ons for xmonad'
+url='http://xmonad.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('ghc-libs' 'xmonad' 'sh' 'haskell-x11' 'haskell-x11-xft' 
'haskell-utf8-string' 'haskell-random'
+ 'haskell-old-time')
+makedepends=('ghc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz)
+sha512sums=('3690ede8744f688e67417aff63ab840eb7fb3c20ea7c6b13a8ccc5233ad34dd131ce5758b25af2bcf6a791ea7f4767f1147d86f291a4e251434ba8db03631dd7')
+
+prepare() {
+  sed -i -e '/semigroups/d' -e 's/utf8-string,/utf8-string/' 
${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  runhaskell Setup.lhs configure -O --enable-shared 
--enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr -fuse_xft --libsubdir=\$compiler/site-local/\$pkgid 
\
+ --docdir=/usr/share/doc/${pkgname}
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:50:20
  Author: felixonmars
Revision: 403200

upgpkg: xmonad-contrib 0.15-3

rebuild with ghc 8.6.2

Modified:
  xmonad-contrib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:49:13 UTC (rev 403199)
+++ PKGBUILD2018-11-07 20:50:20 UTC (rev 403200)
@@ -6,7 +6,7 @@
 
 pkgname=xmonad-contrib
 pkgver=0.15
-pkgrel=2
+pkgrel=3
 pkgdesc='Add-ons for xmonad'
 url='http://xmonad.org/'
 arch=('x86_64')


[arch-commits] Commit in linbox/repos/community-x86_64 (4 files)

2018-11-07 Thread Antonio Rojas via arch-commits
Date: Wednesday, November 7, 2018 @ 20:49:13
  Author: arojas
Revision: 403199

archrelease: copy trunk to community-x86_64

Added:
  linbox/repos/community-x86_64/PKGBUILD
(from rev 403198, linbox/trunk/PKGBUILD)
  linbox/repos/community-x86_64/linbox-gcc8.patch
(from rev 403198, linbox/trunk/linbox-gcc8.patch)
Deleted:
  linbox/repos/community-x86_64/PKGBUILD
  linbox/repos/community-x86_64/linbox-gcc8.patch

---+
 PKGBUILD  |   76 ++--
 linbox-gcc8.patch |   24 
 2 files changed, 51 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 20:48:49 UTC (rev 403198)
+++ PKGBUILD2018-11-07 20:49:13 UTC (rev 403199)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas < nqn7...@gmail.com >
-
-pkgname=linbox
-pkgver=1.5.2
-pkgrel=10
-pkgdesc="A template library for exact, high-performance linear algebra 
computation with dense, sparse, and structured matrices over the integers and 
over finite fields"
-arch=(x86_64)
-url="http://linalg.org/;
-license=(LGPL)
-depends=(m4rie flint fplll iml fflas-ffpack tinyxml2) 
-source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz;
 linbox-gcc8.patch)
-sha256sums=('7b69ab617b15ca6684b29d08531ed8899cd4d07ec75799e5d624c4c0a60dc6b2'
-'f0977ba881fae0c6a1d21e61367dbd7c2cc582362bab753398a731c80714bc66')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../linbox-gcc8.patch # Fix build with GCC 8
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure --prefix=/usr --enable-sage --with-fplll=/usr \
---disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42 
--disable-avx --disable-avx2 --disable-fma
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-# make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: linbox/repos/community-x86_64/PKGBUILD (from rev 403198, 
linbox/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 20:49:13 UTC (rev 403199)
@@ -0,0 +1,39 @@
+# Maintainer: Antonio Rojas < nqn7...@gmail.com >
+
+pkgname=linbox
+pkgver=1.5.2
+pkgrel=11
+pkgdesc="A template library for exact, high-performance linear algebra 
computation with dense, sparse, and structured matrices over the integers and 
over finite fields"
+arch=(x86_64)
+url="http://linalg.org/;
+license=(LGPL)
+depends=(ntl iml fflas-ffpack)
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz;
 linbox-gcc8.patch)
+sha256sums=('7b69ab617b15ca6684b29d08531ed8899cd4d07ec75799e5d624c4c0a60dc6b2'
+'f0977ba881fae0c6a1d21e61367dbd7c2cc582362bab753398a731c80714bc66')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../linbox-gcc8.patch # Fix build with GCC 8
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --enable-sage --with-fplll=/usr \
+--disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42 
--disable-avx --disable-avx2 --disable-fma
+  #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+# make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Deleted: linbox-gcc8.patch
===
--- linbox-gcc8.patch   2018-11-07 20:48:49 UTC (rev 403198)
+++ linbox-gcc8.patch   2018-11-07 20:49:13 UTC (rev 403199)
@@ -1,12 +0,0 @@
 linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h.orig   
2018-05-06 10:35:33.852181382 +
-+++ linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h
2018-05-06 10:35:59.598847558 +
-@@ -67,9 +67,6 @@
-   /*! TransposedBlasMatrix.
-* NO DOC
-*/
--#if !defined(__INTEL_COMPILER) && !defined(__CUDACC__) & !defined(__clang__)
--  template <>
--#endif
-   template< class Matrix >
-   class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public 
Matrix {
- 

Copied: linbox/repos/community-x86_64/linbox-gcc8.patch (from rev 403198, 
linbox/trunk/linbox-gcc8.patch)
===
--- linbox-gcc8.patch   (rev 0)
+++ linbox-gcc8.patch   2018-11-07 20:49:13 UTC (rev 403199)
@@ -0,0 +1,12 @@
+--- linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h.orig   
2018-05-06 10:35:33.852181382 +
 linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h
2018-05-06 10:35:59.598847558 +
+@@ -67,9 +67,6 @@
+   /*! TransposedBlasMatrix.
+* NO DOC
+*/
+-#if !defined(__INTEL_COMPILER) && !defined(__CUDACC__) & !defined(__clang__)
+-  template <>
+-#endif
+   template< class Matrix >
+   class 

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

2018-11-07 Thread Antonio Rojas via arch-commits
Date: Wednesday, November 7, 2018 @ 20:48:49
  Author: arojas
Revision: 403198

Drop unused dependencies, fix overlinking

Modified:
  linbox/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:47:56 UTC (rev 403197)
+++ PKGBUILD2018-11-07 20:48:49 UTC (rev 403198)
@@ -2,12 +2,12 @@
 
 pkgname=linbox
 pkgver=1.5.2
-pkgrel=10
+pkgrel=11
 pkgdesc="A template library for exact, high-performance linear algebra 
computation with dense, sparse, and structured matrices over the integers and 
over finite fields"
 arch=(x86_64)
 url="http://linalg.org/;
 license=(LGPL)
-depends=(m4rie flint fplll iml fflas-ffpack tinyxml2) 
+depends=(ntl iml fflas-ffpack)
 
source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz;
 linbox-gcc8.patch)
 sha256sums=('7b69ab617b15ca6684b29d08531ed8899cd4d07ec75799e5d624c4c0a60dc6b2'
 'f0977ba881fae0c6a1d21e61367dbd7c2cc582362bab753398a731c80714bc66')
@@ -22,6 +22,9 @@
 
   ./configure --prefix=/usr --enable-sage --with-fplll=/usr \
 --disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42 
--disable-avx --disable-avx2 --disable-fma
+  #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }
 


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:47:56
  Author: felixonmars
Revision: 403197

archrelease: copy trunk to community-staging-x86_64

Added:
  xmonad/repos/community-staging-x86_64/
  xmonad/repos/community-staging-x86_64/PKGBUILD
(from rev 403196, xmonad/trunk/PKGBUILD)
  xmonad/repos/community-staging-x86_64/dynamic-compilation.patch
(from rev 403196, xmonad/trunk/dynamic-compilation.patch)
  xmonad/repos/community-staging-x86_64/xmonad.svg
(from rev 403196, xmonad/trunk/xmonad.svg)

---+
 PKGBUILD  |   62 +++
 dynamic-compilation.patch |   11 ++
 xmonad.svg|   77 
 3 files changed, 150 insertions(+)

Copied: xmonad/repos/community-staging-x86_64/PKGBUILD (from rev 403196, 
xmonad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:47:56 UTC (rev 403197)
@@ -0,0 +1,62 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributor: Sergej Pupykin 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: shild 
+
+pkgname=xmonad
+pkgver=0.15
+pkgrel=3
+pkgdesc='Lightweight X11 tiled window manager written in Haskell'
+url='https://xmonad.org/'
+arch=('x86_64')
+license=('BSD')
+depends=('ghc' 'haskell-x11' 'sh' 'haskell-utf8-string' 
'haskell-extensible-exceptions'
+ 'haskell-data-default' 'haskell-setlocale')
+makedepends=('gendesk')
+optdepends=('xorg-xmessage: for displaying visual error messages')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/xmonad/xmonad/archive/v${pkgver}.tar.gz
+dynamic-compilation.patch
+xmonad.svg)
+sha512sums=('07bf61a1355548679d264e62423dfe6c4ee886aff28ac748588aa7f4f9a4f1bf2afabb1104451fa56f5a3989d79b6044f479d2804e416940e02f52f18b443996'
+
'abc598ebc4b55917186cd4d549fc970f53905f820d394ada9a092c08d8833050ad18b23e2f4fd7f281487da2db5b0ca058600e995ac97b18d3be4c62071562d6'
+
'31f0ceb724a9931aeda75ab706c8908b5d8341af4df50ab1d749814baacb748ad3622601cd99ac03bf936b698fcd854b23d1541e1772306e3337a13a79b110b6')
+
+prepare() {
+  gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "${srcdir}/dynamic-compilation.patch"
+  sed -i -e '/semigroups/d' -e 's/< 1.10,/< 1.10/' ${pkgname}.cabal
+}
+
+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}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+
+  runhaskell Setup.lhs copy --destdir="${pkgdir}"
+
+  # Requires pandoc, regex-posix, Pretty and cabal
+  #runhaskell util/GenerateManpage.hs
+
+  install -Dm 644 man/xmonad.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/xmonad"
+  install -Dm 644 "$srcdir/xmonad.svg" -t "${pkgdir}/usr/share/pixmaps"
+  install -Dm 644 "$srcdir/xmonad.desktop" -t "${pkgdir}/usr/share/xsessions"
+}
+
+# vim: ts=2 sw=2 et:

Copied: xmonad/repos/community-staging-x86_64/dynamic-compilation.patch (from 
rev 403196, xmonad/trunk/dynamic-compilation.patch)
===
--- community-staging-x86_64/dynamic-compilation.patch  
(rev 0)
+++ community-staging-x86_64/dynamic-compilation.patch  2018-11-07 20:47:56 UTC 
(rev 403197)
@@ -0,0 +1,11 @@
+diff -ura xmonad-0.13.orig/src/XMonad/Core.hs xmonad-0.13/src/XMonad/Core.hs
+--- xmonad-0.13.orig/src/XMonad/Core.hs2017-06-23 17:13:06.154600231 
+0300
 xmonad-0.13/src/XMonad/Core.hs 2017-06-23 17:13:51.021867441 +0300
+@@ -626,6 +626,7 @@
+   , "-ilib"
+   , "-fforce-recomp"
+   , "-main-is", "main"
++  , "-dynamic"
+   , "-v0"
+   , "-o", bin
+   ] (Just dir) Nothing Nothing Nothing (Just 
errHandle)

Copied: xmonad/repos/community-staging-x86_64/xmonad.svg (from rev 403196, 
xmonad/trunk/xmonad.svg)
===
--- community-staging-x86_64/xmonad.svg (rev 0)
+++ community-staging-x86_64/xmonad.svg 2018-11-07 

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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:47:36
  Author: felixonmars
Revision: 403196

upgpkg: xmonad 0.15-3

rebuild with ghc 8.6.2

Modified:
  xmonad/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:46:39 UTC (rev 403195)
+++ PKGBUILD2018-11-07 20:47:36 UTC (rev 403196)
@@ -6,7 +6,7 @@
 
 pkgname=xmonad
 pkgver=0.15
-pkgrel=2
+pkgrel=3
 pkgdesc='Lightweight X11 tiled window manager written in Haskell'
 url='https://xmonad.org/'
 arch=('x86_64')


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:46:20
  Author: felixonmars
Revision: 403194

upgpkg: xmobar 0.27-49

rebuild with ghc 8.6.2

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:45:06 UTC (rev 403193)
+++ PKGBUILD2018-11-07 20:46:20 UTC (rev 403194)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.27
-pkgrel=48
+pkgrel=49
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('custom:BSD3')


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:46:39
  Author: felixonmars
Revision: 403195

archrelease: copy trunk to community-staging-x86_64

Added:
  xmobar/repos/community-staging-x86_64/
  xmobar/repos/community-staging-x86_64/PKGBUILD
(from rev 403194, xmobar/trunk/PKGBUILD)

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

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 403194, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:46:39 UTC (rev 403195)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributer: Sergej Pupykin 
+# Contributor: Arch Haskell Team 
+
+pkgname=xmobar
+pkgver=0.27
+pkgrel=49
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
+ 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
+ 'haskell-hinotify' 'haskell-stm' 'haskell-parsec' 
'haskell-parsec-numbers'
+ 'haskell-mtl' 'haskell-regex-base' 'haskell-regex-compat'
+ 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-iwlib'
+ 'wireless_tools' 'haskell-text')
+makedepends=('ghc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/jaor/xmobar/archive/${pkgver}.tar.gz)
+sha512sums=('ad235a81dd59a972646c189500b665c9c18d3ca644c9fa4bc18f6f1004e1e6914b6b5f3e83db439b946efd622bbf4d0894eb84fcf521255916f095632d8249da')
+
+prepare() {
+  cd xmobar-$pkgver
+  sed -i -e 's/==.*0.3/== 0.4/' -e 's/< *4.12/<5/' -e 's/< *2.5/<3/' 
xmobar.cabal
+}
+
+build() {
+  cd xmobar-${pkgver}
+  runhaskell setup configure -O \
+--enable-shared \
+--prefix=/usr \
+--enable-executable-dynamic \
+--disable-library-vanilla \
+--flags="with_utf8 with_xft with_iwlib with_xpm with_inotify with_mpd 
with_dbus with_mpris"
+  runhaskell setup build
+}
+
+package() {
+  cd xmobar-${pkgver}
+  runhaskell setup copy --destdir="${pkgdir}"
+  install -Dm 644 license "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in tamarin-prover/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:45:06
  Author: felixonmars
Revision: 403193

archrelease: copy trunk to community-staging-x86_64

Added:
  tamarin-prover/repos/community-staging-x86_64/
  tamarin-prover/repos/community-staging-x86_64/PKGBUILD
(from rev 403192, tamarin-prover/trunk/PKGBUILD)

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
403192, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:45:06 UTC (rev 403193)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.4.0
+pkgrel=138
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="http://tamarin-prover.github.io;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 'haskell-binary-orphans'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-monad-unlift'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-shakespeare' 
'haskell-threads'
+ 'haskell-wai' 'haskell-warp' 'haskell-yesod-core' 
'haskell-yesod-static'
+ 'haskell-tamarin-prover-utils' 'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz;)
+sha512sums=('7c1afe6a53b596c2ce01e9ad7a7f464af1f4efbc5f8edc13d5ec8bc32ce4e91ddde91dff6ab8e01cf3cf30a37a3a18953d937debc36c9df664f718d968e2ae74')
+
+prepare() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+-fthreaded -ftest-coverage -f-build-tests
+runhaskell Setup build
+
+cd plugins/sapic
+make -j1
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/filetype.vim
+install -Dm644 etc/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+install -Dm644 etc/sapic.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:44:47
  Author: felixonmars
Revision: 403192

upgpkg: tamarin-prover 1.4.0-138

rebuild with ghc 8.6.2

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:43:18 UTC (rev 403191)
+++ PKGBUILD2018-11-07 20:44:47 UTC (rev 403192)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.4.0
-pkgrel=137
+pkgrel=138
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="http://tamarin-prover.github.io;
 license=("GPL")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:43:18
  Author: felixonmars
Revision: 403191

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 
403190, stylish-haskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:43:18 UTC (rev 403191)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stylish-haskell
+pkgver=0.9.2.0
+pkgrel=89
+pkgdesc="Haskell code prettifier"
+url="https://github.com/jaspervdj/stylish-haskell;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-file-embed' 
'haskell-optparse-applicative'
+ 'haskell-src-exts' 'haskell-strict' 'haskell-syb' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('ccdbfc7f169624210590c5b60c98202709a9418bfe0aac1cf9af7e51704f7f1a2092716e1f5857056634611afbbb5d1013e2b2c3e79602a959a9725aacfba51a')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e '/semigroups/d' -e 's/<.*0.9/<1/' -e 's/<.*1.4/<2/' -e 's/< 
*0.6/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-old_base
+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 $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:43:00
  Author: felixonmars
Revision: 403190

upgpkg: stylish-haskell 0.9.2.0-89

rebuild with ghc 8.6.2

Modified:
  stylish-haskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:41:56 UTC (rev 403189)
+++ PKGBUILD2018-11-07 20:43:00 UTC (rev 403190)
@@ -3,7 +3,7 @@
 
 pkgname=stylish-haskell
 pkgver=0.9.2.0
-pkgrel=88
+pkgrel=89
 pkgdesc="Haskell code prettifier"
 url="https://github.com/jaspervdj/stylish-haskell;
 license=("custom:BSD3")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:41:56
  Author: felixonmars
Revision: 403189

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 403188, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/stack.install
(from rev 403188, stack/trunk/stack.install)

---+
 PKGBUILD  |   75 
 stack.install |4 ++
 2 files changed, 79 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 403188, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:41:56 UTC (rev 403189)
@@ -0,0 +1,75 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=1.9.1
+pkgrel=13
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-exceptions' 'haskell-extra' 'haskell-file-embed' 
'haskell-filelock'
+ 'haskell-fsnotify' 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security'
+ 'haskell-hashable' 'haskell-hpack' 'haskell-hpc' 'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-monad-logger' 
'haskell-mono-traversable'
+ 'haskell-mustache' 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-simple' 
'haskell-path' 'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-primitive' 'haskell-project-template' 
'haskell-regex-applicative-text'
+ 'haskell-resourcet' 'haskell-retry' 'haskell-rio' 'haskell-split' 
'haskell-store'
+ 'haskell-store-core' 'haskell-streaming-commons' 'haskell-tar' 
'haskell-temporary'
+ 'haskell-text-metrics' 'haskell-th-reify-many' 'haskell-tls' 
'haskell-typed-process'
+ 'haskell-unicode-transforms' 'haskell-unix-compat' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml' 
'haskell-zip-archive'
+ 'haskell-zlib' 'haskell-bindings-uname')
+makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  hpack
+  sed -i '/semigroups/d' $pkgname.cabal
+}
+
+build() {
+  cd $pkgname
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build
+  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 $pkgname
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  runhaskell Setup copy --destdir="${pkgdir}"
+  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install -Dm644 stack_completion_script 
"${pkgdir}/usr/share/bash-completion/completions/stack"
+}

Copied: stack/repos/community-staging-x86_64/stack.install (from rev 403188, 
stack/trunk/stack.install)
===
--- community-staging-x86_64/stack.install  (rev 0)
+++ community-staging-x86_64/stack.install  2018-11-07 20:41:56 UTC (rev 
403189)
@@ -0,0 +1,4 @@

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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:41:39
  Author: felixonmars
Revision: 403188

upgpkg: stack 1.9.1-13

rebuild with ghc 8.6.2

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:35:52 UTC (rev 403187)
+++ PKGBUILD2018-11-07 20:41:39 UTC (rev 403188)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=1.9.1
-pkgrel=12
+pkgrel=13
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("custom:BSD3")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:35:52
  Author: felixonmars
Revision: 403187

archrelease: copy trunk to community-staging-x86_64

Added:
  shellcheck/repos/community-staging-x86_64/
  shellcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 403186, shellcheck/trunk/PKGBUILD)

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 403186, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:35:52 UTC (rev 403187)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.5.0
+pkgrel=140
+pkgdesc="Shell script analysis tool"
+url="http://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-quickcheck' 'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;)
+sha512sums=('87861cddb353262630e4370e12e508224b3c14e128082909b4b35f0526dfe648a744d68cc27f77f2f8bb098af37a2af7bdc805d88018bba5e48b6c1ff1749f10')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i '1i{-# language NoMonadFailDesugaring #-}' 
src/ShellCheck/AnalyzerLib.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+
+pandoc -s -t man shellcheck.1.md -o shellcheck.1
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m644 ${pkgname}.1   "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:35:34
  Author: felixonmars
Revision: 403186

upgpkg: shellcheck 0.5.0-140

rebuild with ghc 8.6.2

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:33:04 UTC (rev 403185)
+++ PKGBUILD2018-11-07 20:35:34 UTC (rev 403186)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.5.0
-pkgrel=139
+pkgrel=140
 pkgdesc="Shell script analysis tool"
 url="http://www.shellcheck.net;
 license=("GPL")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:33:04
  Author: felixonmars
Revision: 403185

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 403184, postgrest/trunk/PKGBUILD)
  postgrest/repos/community-staging-x86_64/new-hasql.patch
(from rev 403184, postgrest/trunk/new-hasql.patch)

-+
 PKGBUILD|   77 
 new-hasql.patch |  477 ++
 2 files changed, 554 insertions(+)

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 403184, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:33:04 UTC (rev 403185)
@@ -0,0 +1,77 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.5.0.0
+pkgrel=63
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-auto-update' 'haskell-hasql' 'haskell-hasql-pool' 
'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-either' 'haskell-gitrev' 'haskell-hasql-transaction' 
'haskell-heredoc'
+ 'haskell-http' 'haskell-http-types' 
'haskell-insert-ordered-containers'
+ 'haskell-interpolatedstring-perl6' 'haskell-jose' 'haskell-lens' 
'haskell-lens-aeson'
+ 'haskell-network-uri' 'haskell-optparse-applicative' 
'haskell-ranged-sets'
+ 'haskell-regex-tdfa' 'haskell-scientific' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra'
+ 'haskell-wai-middleware-static' 'haskell-cookie')
+makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-hjsonschema')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;
+new-hasql.patch)
+sha512sums=('ba8974cc83de3a7fcf1ede454eed726d6dfe7d677e4b34bbf6a03f11cc648d6812c2f101684175bb1f4d0f0b384795a737791ce807c257eae67158e2fc74b0a0'
+
'54257b24e646175c3687d3d0b224092441e0a8093d04327fb900da6c463625bfc952aabe46bcbbee8d0b4b96d4c07b4b148efa5ac4dcd9dd60bf7d3da5a49fcd')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../new-hasql.patch
+
+sed -i 's/==/>=/' $pkgname.cabal
+
+sed -i '/import\s*Safe/d' src/PostgREST/App.hs
+sed -i '/safe/d' $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-CI
+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 $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
+createdb postgrest_test
+
+# TODO: it shouldn't take this long to finish
+# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: postgrest/repos/community-staging-x86_64/new-hasql.patch (from rev 
403184, postgrest/trunk/new-hasql.patch)
===
--- community-staging-x86_64/new-hasql.patch(rev 0)
+++ community-staging-x86_64/new-hasql.patch2018-11-07 20:33:04 UTC (rev 
403185)
@@ -0,0 +1,477 @@
+From f02992e562fafc807092d09a8034f2117c9db00d Mon Sep 17 00:00:00 2001
+From: Ben Gamari 
+Date: Thu, 28 Jun 2018 01:02:09 -0400
+Subject: [PATCH] Update hasql
+
+Move to hasql 1.3.
+---
+ postgrest.cabal   |   6 +-
+ src/PostgREST/App.hs  |  16 ++---
+ 

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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:32:47
  Author: felixonmars
Revision: 403184

upgpkg: postgrest 0.5.0.0-63

rebuild with ghc 8.6.2

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:30:00 UTC (rev 403183)
+++ PKGBUILD2018-11-07 20:32:47 UTC (rev 403184)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=0.5.0.0
-pkgrel=62
+pkgrel=63
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


[arch-commits] Commit in pandoc-crossref/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:30:00
  Author: felixonmars
Revision: 403183

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 403182, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
403182, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:30:00 UTC (rev 403183)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.3.0
+pkgrel=30
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 
'haskell-data-accessor-template'
+ 'haskell-data-accessor-transformers' 'haskell-gitrev' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('6bcadfbaf3e1d99299ab86ed65fe9f964405bd7c7bb1fbf0463754cb2fb94570062bf763295877e9358046e6fccf4fc8eb1546045baeb596460f0f2762b8053c')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.6/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+   -f-enable_flaky_tests
+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 $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:29:41
  Author: felixonmars
Revision: 403182

upgpkg: pandoc-crossref 0.3.3.0-30

rebuild with ghc 8.6.2

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:28:14 UTC (rev 403181)
+++ PKGBUILD2018-11-07 20:29:41 UTC (rev 403182)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.3.0
-pkgrel=29
+pkgrel=30
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:23:03
  Author: felixonmars
Revision: 403174

upgpkg: pandoc 2.3.1-25

rebuild with ghc 8.6.2

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:22:49 UTC (rev 403173)
+++ PKGBUILD2018-11-07 20:23:03 UTC (rev 403174)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.3.1
-pkgrel=24
+pkgrel=25
 pkgdesc="Conversion between markup formats"
 url="http://pandoc.org;
 license=("GPL")


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

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 20:22:37
  Author: jlichtblau
Revision: 403172

upgpkg: encfs 1.9.5-2 - tinyxml2 7.0.0 rebuild

Modified:
  encfs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:14:29 UTC (rev 403171)
+++ PKGBUILD2018-11-07 20:22:37 UTC (rev 403172)
@@ -6,7 +6,7 @@
 
 pkgname=encfs
 pkgver=1.9.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Encrypted filesystem in user-space'
 arch=('x86_64')
 url='https://vgough.github.io/encfs/'
@@ -35,7 +35,7 @@
 
 # check() {
 #   cd "${srcdir}"/build
-# 
+#
 #   make test
 # }
 


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

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 20:22:49
  Author: jlichtblau
Revision: 403173

archrelease: copy trunk to community-staging-x86_64

Added:
  encfs/repos/community-staging-x86_64/
  encfs/repos/community-staging-x86_64/PKGBUILD
(from rev 403172, encfs/trunk/PKGBUILD)

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

Copied: encfs/repos/community-staging-x86_64/PKGBUILD (from rev 403172, 
encfs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:22:49 UTC (rev 403173)
@@ -0,0 +1,46 @@
+# Maintainer: Jaroslav Lichtblau 
+# Contributor: Andrea Scarpino 
+# Contributor: Jaroslaw Swierczynski 
+# Contributor: Sven Kauber, 
+# Contributor: Daniel J Griffiths 
+
+pkgname=encfs
+pkgver=1.9.5
+pkgrel=2
+pkgdesc='Encrypted filesystem in user-space'
+arch=('x86_64')
+url='https://vgough.github.io/encfs/'
+license=('LGPL')
+depends=('openssl' 'fuse2' 'tinyxml2')
+makedepends=('cmake')
+source=(https://github.com/vgough/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.asc})
+# validpgpkeys=('E583187B2E26D6EF8BF4556333C65E29813C14DF') # Valient Gough
+validpgpkeys=('FFF3E01444FED7C316A3545A895F5BC123A02740') # Jakob 
Unterwurzacher 
+sha256sums=('4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63'
+'SKIP')
+
+build() {
+  cd "${srcdir}"
+
+  mkdir build
+  cd build
+
+  cmake ../$pkgname-$pkgver \
+  -DUSE_INTERNAL_TINYXML=OFF \
+  -DINSTALL_LIBENCFS=ON \
+  -DBUILD_SHARED_LIBS=ON \
+  -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+# check() {
+#   cd "${srcdir}"/build
+#
+#   make test
+# }
+
+package() {
+  cd "${srcdir}"/build
+
+  make DESTDIR="${pkgdir}" install
+}


[arch-commits] Commit in sdl2_image/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2018-11-07 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 7, 2018 @ 20:27:45
  Author: svenstaro
Revision: 338051

archrelease: copy trunk to extra-x86_64

Added:
  sdl2_image/repos/extra-x86_64/PKGBUILD
(from rev 338050, sdl2_image/trunk/PKGBUILD)
Deleted:
  sdl2_image/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 20:27:36 UTC (rev 338050)
+++ PKGBUILD2018-11-07 20:27:45 UTC (rev 338051)
@@ -1,25 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-pkgname=sdl2_image
-pkgver=2.0.3
-pkgrel=1
-pkgdesc="A simple library to load images of various formats as SDL surfaces 
(Version 2)"
-arch=('x86_64')
-url="http://www.libsdl.org/projects/SDL_image;
-license=('MIT')
-depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp')
-makedepends=('cmake')
-source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz;)
-sha512sums=('869cf3485cc850a91dc1d7f0023f0497bc7bbfd63e721365358b19d19d4da850e52667731d0e5ec80f4a11d7687aa6cfbdd5ceaec956af0e7f5567e87535977a')
-
-build() {
-  cd "${srcdir}/SDL2_image-${pkgver}/"
-  ./configure --disable-static --prefix=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}/SDL2_image-${pkgver}/"
-
-  make DESTDIR="${pkgdir}/" install
-  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: sdl2_image/repos/extra-x86_64/PKGBUILD (from rev 338050, 
sdl2_image/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 20:27:45 UTC (rev 338051)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=sdl2_image
+pkgver=2.0.4
+pkgrel=1
+pkgdesc="A simple library to load images of various formats as SDL surfaces 
(Version 2)"
+arch=('x86_64')
+url="http://www.libsdl.org/projects/SDL_image;
+license=('MIT')
+depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp')
+makedepends=('cmake')
+source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz;)
+sha512sums=('7320a5c9111908d402fbb0c12a49eb359a6db645c0c86839793ebb1a5b75eaca7c85eb96851f3a0b4a68a2f06363c8189555afd4f1048a4a41447370eddd7e6a')
+
+build() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+  ./configure --disable-static --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 7, 2018 @ 20:26:54
  Author: svenstaro
Revision: 338049

archrelease: copy trunk to community-x86_64

Added:
  sdl2_image/repos/community-x86_64/
  sdl2_image/repos/community-x86_64/PKGBUILD
(from rev 338048, sdl2_image/trunk/PKGBUILD)

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

Copied: sdl2_image/repos/community-x86_64/PKGBUILD (from rev 338048, 
sdl2_image/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2018-11-07 20:26:54 UTC (rev 338049)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=sdl2_image
+pkgver=2.0.4
+pkgrel=1
+pkgdesc="A simple library to load images of various formats as SDL surfaces 
(Version 2)"
+arch=('x86_64')
+url="http://www.libsdl.org/projects/SDL_image;
+license=('MIT')
+depends=('sdl2' 'libpng' 'libtiff' 'libjpeg' 'libwebp')
+makedepends=('cmake')
+source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz;)
+sha512sums=('7320a5c9111908d402fbb0c12a49eb359a6db645c0c86839793ebb1a5b75eaca7c85eb96851f3a0b4a68a2f06363c8189555afd4f1048a4a41447370eddd7e6a')
+
+build() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+  ./configure --disable-static --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/SDL2_image-${pkgver}/"
+
+  make DESTDIR="${pkgdir}/" install
+  install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 7, 2018 @ 20:27:01
  Author: svenstaro
Revision: 403179

archrelease: copy trunk to community-any

Added:
  yarn/repos/community-any/PKGBUILD
(from rev 403178, yarn/trunk/PKGBUILD)
Deleted:
  yarn/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 20:26:57 UTC (rev 403178)
+++ PKGBUILD2018-11-07 20:27:01 UTC (rev 403179)
@@ -1,26 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Jan Koppe 
-
-pkgname=yarn
-pkgver=1.12.1
-pkgrel=1
-pkgdesc='Fast, reliable, and secure dependency management'
-arch=(any)
-url='http://yarnpkg.com'
-license=('BSD')
-depends=('nodejs')
-source=("https://github.com/yarnpkg/yarn/releases/download/v$pkgver/yarn-v$pkgver.tar.gz;)
-sha512sums=('4f1ea2f11fe13c8c2ee4cb3127f665229a425440c23fabcb0d1f6cec22a9cff2b01b2e6c020d521b5e3134ee928c9407e219008ce1f753a39487c1fc7aa4dcb3')
-
-package() {
-  cd yarn-v${pkgver}
-  install -dm755  "$pkgdir"/usr/lib/node_modules/yarn
-  cp -R * "$pkgdir"/usr/lib/node_modules/yarn
-
-  install -dm755 "$pkgdir"/usr/bin
-  ln -s /usr/lib/node_modules/yarn/bin/yarn.js "$pkgdir"/usr/bin/yarn
-  ln -s /usr/lib/node_modules/yarn/bin/yarn.js "$pkgdir"/usr/bin/yarnpkg
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
-}

Copied: yarn/repos/community-any/PKGBUILD (from rev 403178, yarn/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 20:27:01 UTC (rev 403179)
@@ -0,0 +1,26 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Jan Koppe 
+
+pkgname=yarn
+pkgver=1.12.3
+pkgrel=1
+pkgdesc='Fast, reliable, and secure dependency management'
+arch=(any)
+url='http://yarnpkg.com'
+license=('BSD')
+depends=('nodejs')
+source=("https://github.com/yarnpkg/yarn/releases/download/v$pkgver/yarn-v$pkgver.tar.gz;)
+sha512sums=('f1fe6b58d0ef9210260b19a7f02d0bb0d58cc536159385462a2ab4b0807a1c66636994c7b06207f3b4949950d411dd96939e1ba8aa1495b55681014242146457')
+
+package() {
+  cd yarn-v${pkgver}
+  install -dm755  "$pkgdir"/usr/lib/node_modules/yarn
+  cp -R * "$pkgdir"/usr/lib/node_modules/yarn
+
+  install -dm755 "$pkgdir"/usr/bin
+  ln -s /usr/lib/node_modules/yarn/bin/yarn.js "$pkgdir"/usr/bin/yarn
+  ln -s /usr/lib/node_modules/yarn/bin/yarn.js "$pkgdir"/usr/bin/yarnpkg
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+}


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

2018-11-07 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 7, 2018 @ 20:27:36
  Author: svenstaro
Revision: 338050

Fix fuckup

Deleted:
  sdl2_image/repos/community-x86_64/


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:27:56
  Author: felixonmars
Revision: 403180

upgpkg: haskell-hakyll 4.12.4.0-63

rebuild with ghc 8.6.2

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:27:01 UTC (rev 403179)
+++ PKGBUILD2018-11-07 20:27:56 UTC (rev 403180)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.12.4.0
-pkgrel=62
+pkgrel=63
 pkgdesc="A static website compiler library"
 url="http://jaspervdj.be/hakyll;
 license=("custom:BSD3")
@@ -27,10 +27,10 @@
 }
 
 build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
+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 \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
--enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
 runhaskell Setup build
@@ -46,11 +46,11 @@
 }
 
 package() {
-cd "${srcdir}/${_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 -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:28:14
  Author: felixonmars
Revision: 403181

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
403180, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:28:14 UTC (rev 403181)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.12.4.0
+pkgrel=63
+pkgdesc="A static website compiler library"
+url="http://jaspervdj.be/hakyll;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptohash'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'pandoc-citeproc' 
'haskell-random'
+ 'haskell-regex-tdfa' 'haskell-resourcet' 'haskell-scientific' 
'haskell-tagsoup'
+ 'haskell-time-locale-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-wai' 'haskell-wai-app-static' 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('45c167a59a44065e7252472ab1cf116a9ff7dabab6b7c35354716e9487fcd26ebc33f1b94a41a1558eadfd7bfa89047409818b868f5a8bce9111a83f5a42451e')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/< *2.3/<3/' -e 's/< *0.6/<1/' -e 's/< *0.11/<1/' 
$_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 \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+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
+LC_CTYPE=en_US.UTF-8 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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 7, 2018 @ 20:26:44
  Author: svenstaro
Revision: 338048

upgpkg: sdl2_image 2.0.4-1

Modified:
  sdl2_image/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:47:32 UTC (rev 338047)
+++ PKGBUILD2018-11-07 20:26:44 UTC (rev 338048)
@@ -1,6 +1,6 @@
 # Maintainer: Sven-Hendrik Haase 
 pkgname=sdl2_image
-pkgver=2.0.3
+pkgver=2.0.4
 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')
 makedepends=('cmake')
 
source=("https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${pkgver}.tar.gz;)
-sha512sums=('869cf3485cc850a91dc1d7f0023f0497bc7bbfd63e721365358b19d19d4da850e52667731d0e5ec80f4a11d7687aa6cfbdd5ceaec956af0e7f5567e87535977a')
+sha512sums=('7320a5c9111908d402fbb0c12a49eb359a6db645c0c86839793ebb1a5b75eaca7c85eb96851f3a0b4a68a2f06363c8189555afd4f1048a4a41447370eddd7e6a')
 
 build() {
   cd "${srcdir}/SDL2_image-${pkgver}/"


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

2018-11-07 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, November 7, 2018 @ 20:26:57
  Author: svenstaro
Revision: 403178

upgpkg: yarn 1.12.3-1

Modified:
  yarn/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:26:11 UTC (rev 403177)
+++ PKGBUILD2018-11-07 20:26:57 UTC (rev 403178)
@@ -2,7 +2,7 @@
 # Contributor: Jan Koppe 
 
 pkgname=yarn
-pkgver=1.12.1
+pkgver=1.12.3
 pkgrel=1
 pkgdesc='Fast, reliable, and secure dependency management'
 arch=(any)
@@ -10,7 +10,7 @@
 license=('BSD')
 depends=('nodejs')
 
source=("https://github.com/yarnpkg/yarn/releases/download/v$pkgver/yarn-v$pkgver.tar.gz;)
-sha512sums=('4f1ea2f11fe13c8c2ee4cb3127f665229a425440c23fabcb0d1f6cec22a9cff2b01b2e6c020d521b5e3134ee928c9407e219008ce1f753a39487c1fc7aa4dcb3')
+sha512sums=('f1fe6b58d0ef9210260b19a7f02d0bb0d58cc536159385462a2ab4b0807a1c66636994c7b06207f3b4949950d411dd96939e1ba8aa1495b55681014242146457')
 
 package() {
   cd yarn-v${pkgver}


[arch-commits] Commit in pandoc-citeproc/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:26:11
  Author: felixonmars
Revision: 403177

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-citeproc/repos/community-staging-x86_64/
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
(from rev 403176, pandoc-citeproc/trunk/PKGBUILD)

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
403176, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:26:11 UTC (rev 403177)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.14.8
+pkgrel=13
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-attoparsec' 'haskell-base-compat'
+ 'haskell-data-default' 'haskell-hs-bibutils' 'haskell-old-locale' 
'pandoc'
+ 'haskell-pandoc-types' 'haskell-rfc5051' 'haskell-setenv' 
'haskell-split'
+ 'haskell-syb' 'haskell-tagsoup' 'haskell-temporary' 'haskell-text-icu'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-xml-conduit' 
'haskell-yaml')
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('d56becc2c0af8e13511de2dcd7870db69f093a6861a4df5e156200725ec959321857cc4705350ca32a601c83bdbc2de9938a4f3a821a7c1b538f185f8813a585')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+# TODO: find a better solution
+sed -i 
"s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|"
 tests/test-pandoc-citeproc.hs
+}
+
+build() {
+cd "${srcdir}/$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 \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils -f-static
+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 $pkgname-$pkgver
+# https://github.com/jgm/pandoc-citeproc/issues/342
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/$pkgname.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/$pkgname.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:25:54
  Author: felixonmars
Revision: 403176

upgpkg: pandoc-citeproc 0.14.8-13

rebuild with ghc 8.6.2

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:23:20 UTC (rev 403175)
+++ PKGBUILD2018-11-07 20:25:54 UTC (rev 403176)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.14.8
-pkgrel=12
+pkgrel=13
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("custom:BSD3")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:14:29
  Author: felixonmars
Revision: 403171

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 403170, idris/trunk/PKGBUILD)

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 403170, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:14:29 UTC (rev 403171)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.1
+pkgrel=4
+pkgdesc="Functional Programming Language with Dependent Types"
+url="http://www.idris-lang.org/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 'haskell-regex-tdfa' 
'haskell-safe'
+ 'haskell-split' 'haskell-terminal-size' 'haskell-uniplate' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-vector' 
'haskell-vector-binary-instances'
+ 'haskell-zip-archive')
+makedepends=('ghc' 'haskell-tagged' 'haskell-tasty' 'haskell-tasty-golden' 
'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz;)
+sha512sums=('555c7fdfad7e4f69b1aa4f6237cf4432831cd74e33342bd802ff3bc763118178b742b386035f8c071820b5e2bc71c5372c4acb356835155677046d360b722746')
+
+prepare() {
+cd Idris-dev-$pkgver
+
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i -e 's/< *1.4/<2/' -e 's/< *0.6/<1/' idris.cabal
+sed -i '1i{-# language NoMonadFailDesugaring #-}' 
src/Idris/Core/CaseTree.hs src/Idris/Parser/Stack.hs src/Idris/Elab/Term.hs
+}
+
+build() {
+cd Idris-dev-$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 \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly
+LC_CTYPE=en_US.UTF-8 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 Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" runhaskell 
Setup test || warning "Tests failed"
+}
+
+package() {
+cd Idris-dev-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 20:07:30
  Author: jlichtblau
Revision: 403168

upgpkg: hugo 0.51-1 - new upstream release

Modified:
  hugo/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:01:19 UTC (rev 403167)
+++ PKGBUILD2018-11-07 20:07:30 UTC (rev 403168)
@@ -4,7 +4,7 @@
 # Contributor: Brenton Horne
 
 pkgname=hugo
-pkgver=0.50
+pkgver=0.51
 pkgrel=1
 pkgdesc="Fast and Flexible Static Site Generator in Go"
 arch=('x86_64')
@@ -14,7 +14,7 @@
 makedepends=('go-pie' 'git')
 optdepends=('pygmentize: syntax-highlight code snippets')
 
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha256sums=('4dade11c38aace73877750ea8d67ab2f643751754d5a4afdd8d62e655012')
+sha256sums=('5433920c3830df4217c2e6b4e80958543b00c36a890fe4b3c990cfcf5fa46e33')
 
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:14:11
  Author: felixonmars
Revision: 403170

upgpkg: idris 1.3.1-4

rebuild with ghc 8.6.2

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 20:07:40 UTC (rev 403169)
+++ PKGBUILD2018-11-07 20:14:11 UTC (rev 403170)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Functional Programming Language with Dependent Types"
 url="http://www.idris-lang.org/;
 license=("custom:BSD3")


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

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 20:07:40
  Author: jlichtblau
Revision: 403169

archrelease: copy trunk to community-x86_64

Added:
  hugo/repos/community-x86_64/PKGBUILD
(from rev 403168, hugo/trunk/PKGBUILD)
Deleted:
  hugo/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 20:07:30 UTC (rev 403168)
+++ PKGBUILD2018-11-07 20:07:40 UTC (rev 403169)
@@ -1,28 +0,0 @@
-# Maintainer: Jaroslav Lichtblau 
-# Contributor: fordprefect
-# Contributor: Jonathon Fernyhough 
-# Contributor: Brenton Horne
-
-pkgname=hugo
-pkgver=0.50
-pkgrel=1
-pkgdesc="Fast and Flexible Static Site Generator in Go"
-arch=('x86_64')
-url="https://gohugo.io/;
-license=('Apache')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-optdepends=('pygmentize: syntax-highlight code snippets')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
-sha256sums=('4dade11c38aace73877750ea8d67ab2f643751754d5a4afdd8d62e655012')
-
-build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  go build -tags extended
-}
-
-package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: hugo/repos/community-x86_64/PKGBUILD (from rev 403168, 
hugo/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 20:07:40 UTC (rev 403169)
@@ -0,0 +1,28 @@
+# Maintainer: Jaroslav Lichtblau 
+# Contributor: fordprefect
+# Contributor: Jonathon Fernyhough 
+# Contributor: Brenton Horne
+
+pkgname=hugo
+pkgver=0.51
+pkgrel=1
+pkgdesc="Fast and Flexible Static Site Generator in Go"
+arch=('x86_64')
+url="https://gohugo.io/;
+license=('Apache')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+optdepends=('pygmentize: syntax-highlight code snippets')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('5433920c3830df4217c2e6b4e80958543b00c36a890fe4b3c990cfcf5fa46e33')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  go build -tags extended
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:23:20
  Author: felixonmars
Revision: 403175

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc/repos/community-staging-x86_64/
  pandoc/repos/community-staging-x86_64/PKGBUILD
(from rev 403174, pandoc/trunk/PKGBUILD)

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 403174, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:23:20 UTC (rev 403175)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.3.1
+pkgrel=25
+pkgdesc="Conversion between markup formats"
+url="http://pandoc.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 
'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-base-compat' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-case-insensitive' 'haskell-cmark-gfm'
+ 'haskell-data-default' 'haskell-doctemplates' 'haskell-exceptions' 
'haskell-glob'
+ 'haskell-haddock-library' 'haskell-skylighting' 'haskell-hslua'
+ 'haskell-hslua-module-text' 'haskell-http-client' 'haskell-syb' 
'haskell-hsyaml' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-safe' 'haskell-split' 'haskell-texmath'
+ 'haskell-network' 'haskell-pandoc-types' 'haskell-random'
+ 'haskell-tagsoup' 'haskell-temporary' 'haskell-network-uri'
+ 'haskell-unordered-containers' 'haskell-zip-archive' 'haskell-vector' 
'haskell-xml'
+ 'haskell-zlib')
+optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc 
filter'
+'pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-golden' 'haskell-quickcheck' 
'haskell-executable-path')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+
https://github.com/jgm/pandoc/commit/58eb78c437a411ee796e2c90d7c4681fe78d8254.patch)
+sha512sums=('e1c708e828c48ce5cf2a8a00431c0d75750ec46a67389de04260f3e18845b67a7e4792ea862e6184da00d335f1567f1276af4bddbb8d5275b3913f1b3a752121'
+
'bf5aa3cf3628c52d1cd535b2a39a6ac3f158db828923da677870186ff1db80f1cb47f67c136496759a0a49a9f77a6fb89ac16ed3561af1ce50350ee17a3826d0')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+patch -p1 -i ../58eb78c437a411ee796e2c90d7c4681fe78d8254.patch
+
+sed -i 's/< *0.6/<1/' $pkgname.cabal
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-trypandoc -f-embed_data_files -f-static
+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 "${srcdir}/${pkgname}-${pkgver}"
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgbase}-${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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:01:02
  Author: felixonmars
Revision: 403166

upgpkg: hopenpgp-tools 0.21.2-57

rebuild with ghc 8.6.2

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:59:56 UTC (rev 403165)
+++ PKGBUILD2018-11-07 20:01:02 UTC (rev 403166)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.21.2
-pkgrel=56
+pkgrel=57
 pkgdesc="hOpenPGP-based command-line tools"
 url="http://floss.scru.org/hopenpgp-tools;
 license=("AGPL3")


[arch-commits] Commit in hopenpgp-tools/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 20:01:19
  Author: felixonmars
Revision: 403167

archrelease: copy trunk to community-staging-x86_64

Added:
  hopenpgp-tools/repos/community-staging-x86_64/
  hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 403166, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
403166, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 20:01:19 UTC (rev 403167)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.21.2
+pkgrel=57
+pkgdesc="hOpenPGP-based command-line tools"
+url="http://floss.scru.org/hopenpgp-tools;
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-binary-conduit' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-crypto-pubkey'
+ 'haskell-cryptohash' 'haskell-errors' 'haskell-fgl' 
'haskell-graphviz' 'haskell-hopenpgp'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-ixset-typed'
+ 'haskell-lens' 'haskell-monad-loops' 'haskell-openpgp-asciiarmor'
+ 'haskell-optparse-applicative' 'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 
'haskell-prettyprinter-convert-ansi-wl-pprint'
+ 'haskell-resourcet' 'haskell-time-locale-compat' 'haskell-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('2a5e1487670b9616a5546ec0cd2671e712aeef8017daf20ce78eebd569445355025f9b39a897747dcf9ededf0dba713319bb5bfa02349fd38a69af65962264c5')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}


[arch-commits] Commit in syncthing/repos/community-x86_64 (10 files)

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 19:59:56
  Author: jlichtblau
Revision: 403165

archrelease: copy trunk to community-x86_64

Added:
  syncthing/repos/community-x86_64/PKGBUILD
(from rev 403164, syncthing/trunk/PKGBUILD)
  syncthing/repos/community-x86_64/syncthing-relaysrv.service
(from rev 403164, syncthing/trunk/syncthing-relaysrv.service)
  syncthing/repos/community-x86_64/syncthing-relaysrv.sysusers
(from rev 403164, syncthing/trunk/syncthing-relaysrv.sysusers)
  syncthing/repos/community-x86_64/syncthing-relaysrv.tmpfiles
(from rev 403164, syncthing/trunk/syncthing-relaysrv.tmpfiles)
  syncthing/repos/community-x86_64/syncthing.install
(from rev 403164, syncthing/trunk/syncthing.install)
Deleted:
  syncthing/repos/community-x86_64/PKGBUILD
  syncthing/repos/community-x86_64/syncthing-relaysrv.service
  syncthing/repos/community-x86_64/syncthing-relaysrv.sysusers
  syncthing/repos/community-x86_64/syncthing-relaysrv.tmpfiles
  syncthing/repos/community-x86_64/syncthing.install

-+
 PKGBUILD|  186 +-
 syncthing-relaysrv.service  |   34 +++
 syncthing-relaysrv.sysusers |4 
 syncthing-relaysrv.tmpfiles |2 
 syncthing.install   |   18 ++--
 5 files changed, 122 insertions(+), 122 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 19:59:37 UTC (rev 403164)
+++ PKGBUILD2018-11-07 19:59:56 UTC (rev 403165)
@@ -1,93 +0,0 @@
-# Maintainer: Jaroslav Lichtblau 
-# Contributor: Martin Wimpress 
-# Contributor: Sauyon Lee 
-# Contributor: Kevin MacMartin 
-# Contributor: korjjj 
-
-pkgname=('syncthing' 'syncthing-relaysrv')
-pkgver=0.14.51
-pkgrel=1
-arch=('x86_64')
-url="http://syncthing.net/;
-license=('MPL')
-depends=('glibc')
-makedepends=('git' 'go' 'inetutils')
-# options=('!strip')
-source=(https://github.com/syncthing/syncthing/releases/download/v$pkgver/syncthing-source-v${pkgver}.tar.gz{,.asc}
-syncthing-relaysrv.sysusers
-syncthing-relaysrv.tmpfiles
-syncthing-relaysrv.service)
-validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release 
Management
-sha256sums=('10bf5de6f5f01dc605667185ac0b485548ae9088abaa8401fc0f3a2528b2f09e'
-'SKIP'
-'6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa'
-'f88985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f'
-'7c2fbc9608d81f8080f8a9102b867a52a050b61f426a0c182ccc1cb5815e4981')
-
-prepare() {
-  install -d "src/github.com/syncthing"
-  mv "${pkgbase}" "src/github.com/syncthing/${pkgbase}"
-}
-
-build() {
-  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  go run build.go -no-upgrade -version v${pkgver} build
-  go run build.go -no-upgrade -version v${pkgver} build strelaysrv
-}
-
-check() {
-  export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  if [ "${CARCH}" == "x86_64" ] ; then
-go run build.go -no-upgrade test
-  fi
-}
-
-package_syncthing() {
-  pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
-  install=$pkgname.install
-
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  install -Dm644 "etc/linux-systemd/system/${pkgname}-resume.service" \
-"${pkgdir}/usr/lib/systemd/system/${pkgname}-resume.service"
-  install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" \
-"${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
-  install -Dm644 "etc/linux-systemd/user/${pkgname}.service" \
-"${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
-
-  # license
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
-  # ufw preset
-  install -Dm644 etc/firewall-ufw/syncthing \
-"$pkgdir/etc/ufw/applications.d/ufw-syncthing"
-
-  # man pages
-  cd "${srcdir}/src/github.com/syncthing/${pkgname}/man"
-  for file in $(find . -name '*.1' -print); do
-install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file
-  done
-  for file in $(find . -name '*.5' -print); do
-install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file
-  done
-  for file in $(find . -name '*.7' -print); do
-install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file
-  done
-}
-
-package_syncthing-relaysrv() {
-  pkgdesc='Relay server for Syncthing'
-
-  cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  install -Dm755 strelaysrv "${pkgdir}"/usr/bin/${pkgname}
-
-  install -Dm644 "${srcdir}"/${pkgname}.service \
-"${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
-  install -Dm644 "${srcdir}/${pkgname}.tmpfiles" \
-"$pkgdir/usr/lib/tmpfiles.d/${pkgname}.conf"
-  install -Dm644 "${srcdir}/${pkgname}.sysusers" \
-

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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:59:19
  Author: felixonmars
Revision: 403162

upgpkg: hoogle 5.0.17.3-120

rebuild with ghc 8.6.2

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:57:45 UTC (rev 403161)
+++ PKGBUILD2018-11-07 19:59:19 UTC (rev 403162)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.17.3
-pkgrel=119
+pkgrel=120
 pkgdesc="Haskell API Search"
 url="http://www.haskell.org/hoogle/;
 license=("custom:BSD3")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:59:37
  Author: felixonmars
Revision: 403164

archrelease: copy trunk to community-staging-x86_64

Added:
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
(from rev 403162, hoogle/trunk/PKGBUILD)

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 403162, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:59:37 UTC (rev 403164)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.17.3
+pkgrel=120
+pkgdesc="Haskell API Search"
+url="http://www.haskell.org/hoogle/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-conduit-extra' 'haskell-connection' 'haskell-extra' 
'haskell-src-exts'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-network-uri' 
'haskell-old-locale'
+ 'haskell-process-extras' 'haskell-resourcet' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('b8113e9dc6f44fbf684edfe6134eb44d55b1ef43afc3cb2051920daaec3e108df6209cfe822a8eeff884360c9b9415f2ab8273e7681e6bbcc1b9c77490370195')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-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
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 19:59:36
  Author: jlichtblau
Revision: 403163

upgpkg: syncthing 0.14.52-1 - new upstream release

Modified:
  syncthing/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:59:19 UTC (rev 403162)
+++ PKGBUILD2018-11-07 19:59:36 UTC (rev 403163)
@@ -5,7 +5,7 @@
 # Contributor: korjjj 
 
 pkgname=('syncthing' 'syncthing-relaysrv')
-pkgver=0.14.51
+pkgver=0.14.52
 pkgrel=1
 arch=('x86_64')
 url="http://syncthing.net/;
@@ -18,7 +18,7 @@
 syncthing-relaysrv.tmpfiles
 syncthing-relaysrv.service)
 validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release 
Management
-sha256sums=('10bf5de6f5f01dc605667185ac0b485548ae9088abaa8401fc0f3a2528b2f09e'
+sha256sums=('4954c2b05c60b6de29104d4783193a51164485cfa4a810c5a0696d72a83816c2'
 'SKIP'
 '6ab96a5949e223d315d49663734ad27b70c72469c691a61ac198cb7794cb5eaa'
 'f88985f2d374af57f17ef6362c37a305467858195b74d1c1def71d97273f'


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:57:28
  Author: felixonmars
Revision: 403160

upgpkg: cryptol 2.6.0-55

rebuild with ghc 8.6.2

Modified:
  cryptol/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:54:21 UTC (rev 403159)
+++ PKGBUILD2018-11-07 19:57:28 UTC (rev 403160)
@@ -2,7 +2,7 @@
 
 pkgname=cryptol
 pkgver=2.6.0
-pkgrel=54
+pkgrel=55
 pkgdesc="The Language of Cryptography"
 url="http://www.cryptol.net;
 license=("custom:BSD3")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:57:45
  Author: felixonmars
Revision: 403161

archrelease: copy trunk to community-staging-x86_64

Added:
  cryptol/repos/community-staging-x86_64/
  cryptol/repos/community-staging-x86_64/PKGBUILD
(from rev 403160, cryptol/trunk/PKGBUILD)

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

Copied: cryptol/repos/community-staging-x86_64/PKGBUILD (from rev 403160, 
cryptol/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:57:45 UTC (rev 403161)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+pkgname=cryptol
+pkgver=2.6.0
+pkgrel=55
+pkgdesc="The Language of Cryptography"
+url="http://www.cryptol.net;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'z3' 'haskell-base-compat' 'haskell-gitrev' 
'haskell-graphscc' 'haskell-heredoc'
+ 'haskell-monad-control' 'haskell-monadlib' 'haskell-panic' 
'haskell-random' 'haskell-sbv'
+ 'haskell-simple-smt' 'haskell-strict' 'haskell-tf-random' 
'haskell-transformers-base'
+ 'haskell-ansi-terminal' 'haskell-blaze-html')
+makedepends=('ghc' 'alex' 'happy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GaloisInc/cryptol/archive/$pkgver.tar.gz;)
+sha512sums=('445a1656ffd0d260553e041de9b15b6257a4b068b5462d996e8207671c097ea814bc5b7aaeb527b5e9579bd8a3e5e8ced0aaf57c24fbccaa7410342a109e9325')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/<.*0.10/<1/' $pkgname.cabal
+sed -i '1i{-# language NoMonadFailDesugaring #-}' 
src/Cryptol/ModuleSystem/Renamer.hs src/Cryptol/Prims/Eval.hs 
src/Cryptol/TypeCheck/Infer.hs src/Cryptol/TypeCheck/CheckModuleInstance.hs 
src/Cryptol/Transform/Specialize.hs src/Cryptol/REPL/Monad.hs 
src/Cryptol/REPL/Command.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-static -f-relocatable
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:54:21
  Author: felixonmars
Revision: 403159

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-sbv/repos/community-staging-x86_64/PKGBUILD (from rev 403158, 
haskell-sbv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:54:21 UTC (rev 403159)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=sbv
+pkgname=haskell-sbv
+pkgver=7.12
+pkgrel=24
+pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
+url="http://leventerkok.github.com/sbv;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-quickcheck' 'haskell-cracknum' 
'haskell-async'
+ 'haskell-random' 'haskell-syb' 'haskell-reinterpret-cast'
+ 'haskell-generic-deriving')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'hlint' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5c64a2bdd3817f893e7f25f969afd7fab4f24acb695370b19e87ecb5064b24a4ed5d13861fb6afa1a4cf6f59fcf3ee801a117dc34a28d9abda826e9f30f8f382')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:54:04
  Author: felixonmars
Revision: 403158

upgpkg: haskell-sbv 7.12-24

rebuild with ghc 8.6.2

Modified:
  haskell-sbv/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:47:27 UTC (rev 403157)
+++ PKGBUILD2018-11-07 19:54:04 UTC (rev 403158)
@@ -4,7 +4,7 @@
 _hkgname=sbv
 pkgname=haskell-sbv
 pkgver=7.12
-pkgrel=23
+pkgrel=24
 pkgdesc="SMT Based Verification: Symbolic Haskell theorem prover using SMT 
solving"
 url="http://leventerkok.github.com/sbv;
 license=("custom:BSD3")
@@ -21,7 +21,7 @@
 cd $_hkgname-$pkgver
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
 runhaskell Setup register --gen-script
@@ -38,9 +38,9 @@
 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 -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:47:10
  Author: felixonmars
Revision: 403156

upgpkg: hlint 2.1.10-43

rebuild with ghc 8.6.2

Modified:
  hlint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:46:01 UTC (rev 403155)
+++ PKGBUILD2018-11-07 19:47:10 UTC (rev 403156)
@@ -3,7 +3,7 @@
 
 pkgname=hlint
 pkgver=2.1.10
-pkgrel=42
+pkgrel=43
 pkgdesc="Source code suggestions"
 url="http://community.haskell.org/~ndm/hlint/;
 license=("custom:BSD3")


[arch-commits] Commit in ethtool/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2018-11-07 Thread Anatol Pomozov via arch-commits
Date: Wednesday, November 7, 2018 @ 19:47:32
  Author: anatolik
Revision: 338047

archrelease: copy trunk to testing-x86_64

Added:
  ethtool/repos/testing-x86_64/
  ethtool/repos/testing-x86_64/PKGBUILD
(from rev 338045, ethtool/trunk/PKGBUILD)

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

Copied: ethtool/repos/testing-x86_64/PKGBUILD (from rev 338045, 
ethtool/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-07 19:47:32 UTC (rev 338047)
@@ -0,0 +1,33 @@
+# Maintainer : Ionut Biru 
+# Contributor: Paul Mattal 
+# Contributor: Martin Kemp 
+
+pkgname=ethtool
+pkgver=4.19
+pkgrel=1
+epoch=1
+pkgdesc="Utility for controlling network drivers and hardware"
+arch=('x86_64')
+url="https://www.kernel.org/pub/software/network/ethtool/;
+license=('GPL')
+depends=('glibc')
+source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
+sha1sums=('b79b3903ff1c83dcbecf2c8759abb45f07b0b956'
+  'SKIP')
+validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806) # John W. Linville 

+
+build() {
+cd $pkgname-$pkgver
+./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
+make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+cd $pkgname-$pkgver
+make DESTDIR="$pkgdir" install
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:47:27
  Author: felixonmars
Revision: 403157

archrelease: copy trunk to community-staging-x86_64

Added:
  hlint/repos/community-staging-x86_64/
  hlint/repos/community-staging-x86_64/PKGBUILD
(from rev 403156, hlint/trunk/PKGBUILD)

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

Copied: hlint/repos/community-staging-x86_64/PKGBUILD (from rev 403156, 
hlint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:47:27 UTC (rev 403157)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hlint
+pkgver=2.1.10
+pkgrel=43
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 
'haskell-cpphs'
+ 'haskell-data-default' 'haskell-extra' 'haskell-hscolour' 
'haskell-refact'
+ 'haskell-src-exts' 'haskell-src-exts-util' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+conflicts=('haskell-hlint')
+replaces=('haskell-hlint')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('70e96f43608eb77e44c1c3d2a5cf411183d014fda5594d3e4dcddda430d21eb8e94c842119efd25a8bf98ec9d28947d867df1de8125095c47da4546712465e25')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fgpl -fthreaded
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}


[arch-commits] Commit in hledger-web/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:46:01
  Author: felixonmars
Revision: 403155

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-web/repos/community-staging-x86_64/
  hledger-web/repos/community-staging-x86_64/PKGBUILD
(from rev 403154, hledger-web/trunk/PKGBUILD)

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 403154, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:46:01 UTC (rev 403155)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.11.1
+pkgrel=30
+pkgdesc="Web interface for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-blaze-html' 
'haskell-blaze-markup'
+ 'haskell-case-insensitive' 'haskell-clientsession' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-data-default' 'haskell-hjsmin' 'haskell-http-conduit' 
'haskell-http-client'
+ 'haskell-conduit-extra' 'haskell-safe' 'haskell-shakespeare' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-handler-launch' 'haskell-warp' 
'haskell-yesod'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-static' 
'haskell-json'
+ 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('2ea29150a9e59d86e6760779aea6ac9928374e65a995044d9adbd48d0c89002b82f9ab46283f640154bc8c3853e9ba7a0d44635bc337305d7acc6f21e40a0b8d')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e '/semigroups/d' -e 's/< *4.12/<5/' $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${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 \
+-f-dev -f-library-only -fthreaded
+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 $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:45:44
  Author: felixonmars
Revision: 403154

upgpkg: hledger-web 1.11.1-30

rebuild with ghc 8.6.2

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:44:23 UTC (rev 403153)
+++ PKGBUILD2018-11-07 19:45:44 UTC (rev 403154)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.11.1
-pkgrel=29
+pkgrel=30
 pkgdesc="Web interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:44:06
  Author: felixonmars
Revision: 403152

upgpkg: hledger-ui 1.11.1-16

rebuild with ghc 8.6.2

Modified:
  hledger-ui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:43:07 UTC (rev 403151)
+++ PKGBUILD2018-11-07 19:44:06 UTC (rev 403152)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-ui
 pkgver=1.11.1
-pkgrel=15
+pkgrel=16
 pkgdesc="Curses-style user interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


[arch-commits] Commit in hledger-ui/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:44:23
  Author: felixonmars
Revision: 403153

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-ui/repos/community-staging-x86_64/
  hledger-ui/repos/community-staging-x86_64/PKGBUILD
(from rev 403152, hledger-ui/trunk/PKGBUILD)

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

Copied: hledger-ui/repos/community-staging-x86_64/PKGBUILD (from rev 403152, 
hledger-ui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:44:23 UTC (rev 403153)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-ui
+pkgver=1.11.1
+pkgrel=16
+pkgdesc="Curses-style user interface for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-ansi-terminal' 
'haskell-async'
+ 'haskell-base-compat-batteries' 'haskell-cmdargs' 
'haskell-data-default' 'haskell-fsnotify'
+ 'haskell-microlens' 'haskell-microlens-platform' 'haskell-megaparsec' 
'haskell-pretty-show'
+ 'haskell-safe' 'haskell-split' 'haskell-text-zipper' 'haskell-vector' 
'haskell-brick'
+ 'haskell-vty')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('29681c4a50ffb2a7178b634bacdf019071b43acfa8e7686ef1d6fe2f494593b9445cca35d855bac5dba2decf1df03f2f3434c15850d138b470aaf947f749700f')
+
+prepare() {
+# It does nothing
+sed -e '/mtl-compat/d' -e 's/< *4.12/<5/' \
+-i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+-fthreaded
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


[arch-commits] Commit in strace/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2018-11-07 Thread Anatol Pomozov via arch-commits
Date: Wednesday, November 7, 2018 @ 19:43:22
  Author: anatolik
Revision: 338046

archrelease: copy trunk to testing-x86_64

Added:
  strace/repos/testing-x86_64/
  strace/repos/testing-x86_64/PKGBUILD
(from rev 338045, strace/trunk/PKGBUILD)

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

Copied: strace/repos/testing-x86_64/PKGBUILD (from rev 338045, 
strace/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-07 19:43:22 UTC (rev 338046)
@@ -0,0 +1,34 @@
+# Maintainer: Giovanni Scafora 
+# Contributor: Tom Newsom 
+
+pkgname=strace
+pkgver=4.25
+pkgrel=1
+pkgdesc='A diagnostic, debugging and instructional userspace tracer'
+arch=(x86_64)
+url='https://strace.io/'
+license=(BSD)
+depends=(perl libunwind)
+source=(https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz{,.asc})
+sha1sums=('4f5c8a0c4bf08b0c012de87ab9d10c0e3b06585f'
+  'SKIP')
+validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin 

+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+--with-libunwind
+  make
+}
+
+check() {
+  # tests do not work in chroot environment. TODO: fixit.
+  # make -C $pkgname-$pkgver check
+  true
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:42:48
  Author: felixonmars
Revision: 403150

upgpkg: hledger-api 1.11.1-19

rebuild with ghc 8.6.2

Modified:
  hledger-api/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:41:37 UTC (rev 403149)
+++ PKGBUILD2018-11-07 19:42:48 UTC (rev 403150)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-api
 pkgver=1.11.1
-pkgrel=18
+pkgrel=19
 pkgdesc="Web API server for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


[arch-commits] Commit in hledger-api/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:43:07
  Author: felixonmars
Revision: 403151

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger-api/repos/community-staging-x86_64/
  hledger-api/repos/community-staging-x86_64/PKGBUILD
(from rev 403150, hledger-api/trunk/PKGBUILD)

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

Copied: hledger-api/repos/community-staging-x86_64/PKGBUILD (from rev 403150, 
hledger-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:43:07 UTC (rev 403151)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-api
+pkgver=1.11.1
+pkgrel=19
+pkgdesc="Web API server for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-docopt' 'haskell-either' 
'haskell-microlens'
+ 'haskell-microlens-platform' 'haskell-safe' 'haskell-servant-server'
+ 'haskell-servant-swagger' 'haskell-swagger2' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('b3483f3120fd3de38cf36e6c374af722e65ba03560c42806e5143088125da5f9993c800fa8aac98cb4db8851f20a6058d581868600187f9de4070951c4a836df')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *4.12/<5/' $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname"
+runhaskell Setup build
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Anatol Pomozov via arch-commits
Date: Wednesday, November 7, 2018 @ 19:42:56
  Author: anatolik
Revision: 338045

upgpkg: strace 4.25-1

Modified:
  strace/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:42:40 UTC (rev 338044)
+++ PKGBUILD2018-11-07 19:42:56 UTC (rev 338045)
@@ -2,7 +2,7 @@
 # Contributor: Tom Newsom 
 
 pkgname=strace
-pkgver=4.24
+pkgver=4.25
 pkgrel=1
 pkgdesc='A diagnostic, debugging and instructional userspace tracer'
 arch=(x86_64)
@@ -10,7 +10,7 @@
 license=(BSD)
 depends=(perl libunwind)
 
source=(https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz{,.asc})
-sha1sums=('09a8c9638fd02622157af9d744ad7c7f991c75df'
+sha1sums=('4f5c8a0c4bf08b0c012de87ab9d10c0e3b06585f'
   'SKIP')
 validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin 

 


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

2018-11-07 Thread Anatol Pomozov via arch-commits
Date: Wednesday, November 7, 2018 @ 19:42:40
  Author: anatolik
Revision: 338044

upgpkg: ethtool 1:4.19-1

Modified:
  ethtool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:16:01 UTC (rev 338043)
+++ PKGBUILD2018-11-07 19:42:40 UTC (rev 338044)
@@ -3,7 +3,7 @@
 # Contributor: Martin Kemp 
 
 pkgname=ethtool
-pkgver=4.18
+pkgver=4.19
 pkgrel=1
 epoch=1
 pkgdesc="Utility for controlling network drivers and hardware"
@@ -12,7 +12,7 @@
 license=('GPL')
 depends=('glibc')
 
source=(https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
-sha1sums=('11b902b6f1a90e11da3cbcf4b44525bd19e994d1'
+sha1sums=('b79b3903ff1c83dcbecf2c8759abb45f07b0b956'
   'SKIP')
 validpgpkeys=(CE4A4D080F0D304F23B9EBDD972D5BF4DC613806) # John W. Linville 

 


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:41:37
  Author: felixonmars
Revision: 403149

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger/repos/community-staging-x86_64/
  hledger/repos/community-staging-x86_64/PKGBUILD
(from rev 403148, hledger/trunk/PKGBUILD)

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 403148, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:41:37 UTC (rev 403149)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.11.1
+pkgrel=12
+pkgdesc="Command-line interface for the hledger accounting tool"
+url="http://hledger.org;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-base-compat-batteries' 
'haskell-cmdargs'
+ 'haskell-data-default' 'haskell-decimal' 'haskell-diff' 
'haskell-easytest'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-here' 
'haskell-hledger-lib'
+ 'haskell-lucid' 'haskell-megaparsec' 'haskell-old-time' 
'haskell-pretty-show'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-shakespeare' 
'haskell-split'
+ 'haskell-statistics' 'haskell-tabular' 'haskell-temporary' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c66b176a1846a023aca63e7afd2cab1abe075cd40e0980220dc28507164e0aae79dae2d39014f7a104ea0bc109ce6ca1acd3b445e9f8dd65cf9e84e0b58de74')
+
+prepare() {
+# It does nothing
+sed -e '/mtl-compat/d' -e 's/< *4.12/<5/' \
+-i ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${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 \
+-fterminfo -fthreaded
+LC_CTYPE=en_US.UTF-8 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 $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:41:20
  Author: felixonmars
Revision: 403148

upgpkg: hledger 1.11.1-12

rebuild with ghc 8.6.2

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:40:33 UTC (rev 403147)
+++ PKGBUILD2018-11-07 19:41:20 UTC (rev 403148)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.11.1
-pkgrel=11
+pkgrel=12
 pkgdesc="Command-line interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 19:40:24
  Author: jlichtblau
Revision: 403146

upgpkg: tinyxml2 7.0.0-1 - new upstream release

Modified:
  tinyxml2/trunk/PKGBUILD

--+
 PKGBUILD |   27 ---
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:40:12 UTC (rev 403145)
+++ PKGBUILD2018-11-07 19:40:24 UTC (rev 403146)
@@ -3,25 +3,28 @@
 # Contributor: dhead666 
 
 pkgname=tinyxml2
-pkgver=6.2.0
+pkgver=7.0.0
 pkgrel=1
 pkgdesc='Simple XML parser made for easy integration'
-# no working https page
+arch=('x86_64')
 url='http://www.grinninglizard.com/tinyxml2'
-arch=('x86_64')
 license=('zlib')
-makedepends=('cmake' 'git' 'ninja')
-source=("git+https://github.com/leethomason/tinyxml2#tag=$pkgver;)
-md5sums=('SKIP')
+makedepends=('cmake' 'ninja')
+source=($pkgname-$pkgver.tar.gz::https://github.com/leethomason/$pkgname/archive/$pkgver.tar.gz)
+sha256sums=('fa0d1c745d65d4d833e62cb183e23c2034dc7a35ec1a4977e808bdebb9b4fe60')
 
 prepare() {
-  grep License -A20 "$pkgname/readme.md" > LICENSE
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  grep License -A20 readme.md > LICENSE
 }
 
 build() {
-  mkdir -p build
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  install -d build
   cd build
-  cmake "../$pkgname" \
+  cmake .. \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DCMAKE_INSTALL_LIBDIR=lib \
 -DCMAKE_BUILD_TYPE=Release \
@@ -30,9 +33,11 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" ninja -C build install
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  DESTDIR="${pkgdir}" ninja -C build install
   cat LICENSE
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }
 
 # getver: github.com/leethomason/tinyxml2


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

2018-11-07 Thread Jaroslav Lichtblau via arch-commits
Date: Wednesday, November 7, 2018 @ 19:40:33
  Author: jlichtblau
Revision: 403147

archrelease: copy trunk to community-staging-x86_64

Added:
  tinyxml2/repos/community-staging-x86_64/
  tinyxml2/repos/community-staging-x86_64/PKGBUILD
(from rev 403146, tinyxml2/trunk/PKGBUILD)

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

Copied: tinyxml2/repos/community-staging-x86_64/PKGBUILD (from rev 403146, 
tinyxml2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:40:33 UTC (rev 403147)
@@ -0,0 +1,44 @@
+# Maintainer: Alexander F Rødseth 
+# Maintainer: Jaroslav Lichtblau 
+# Contributor: dhead666 
+
+pkgname=tinyxml2
+pkgver=7.0.0
+pkgrel=1
+pkgdesc='Simple XML parser made for easy integration'
+arch=('x86_64')
+url='http://www.grinninglizard.com/tinyxml2'
+license=('zlib')
+makedepends=('cmake' 'ninja')
+source=($pkgname-$pkgver.tar.gz::https://github.com/leethomason/$pkgname/archive/$pkgver.tar.gz)
+sha256sums=('fa0d1c745d65d4d833e62cb183e23c2034dc7a35ec1a4977e808bdebb9b4fe60')
+
+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  grep License -A20 readme.md > LICENSE
+}
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  install -d build
+  cd build
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DCMAKE_BUILD_TYPE=Release \
+-G Ninja
+  ninja
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  DESTDIR="${pkgdir}" ninja -C build install
+  cat LICENSE
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# getver: github.com/leethomason/tinyxml2
+# vim: ts=2 sw=2 et:


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:40:12
  Author: felixonmars
Revision: 403145

archrelease: copy trunk to community-staging-x86_64

Added:
  hindent/repos/community-staging-x86_64/
  hindent/repos/community-staging-x86_64/PKGBUILD
(from rev 403144, hindent/trunk/PKGBUILD)

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

Copied: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 403144, 
hindent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:40:12 UTC (rev 403145)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hindent
+pkgver=5.2.7
+pkgrel=48
+pkgdesc="Extensible Haskell pretty printer"
+url="https://github.com/commercialhaskell/hindent;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions' 'haskell-monad-loops' 
'haskell-optparse-applicative'
+ 'haskell-path' 'haskell-path-io' 'haskell-src-exts' 
'haskell-unix-compat'
+ 'haskell-utf8-string' 'haskell-yaml')
+makedepends=('ghc' 'haskell-diff' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('9538486abe1c7638710825ee903fd9f97eab3c906c30a036c396dcb3c806e1c803e9e1a408b392c98652d10d02fb1f27472ae8475a9dceae3e46cc361f237cf5')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:39:54
  Author: felixonmars
Revision: 403144

upgpkg: hindent 5.2.7-48

rebuild with ghc 8.6.2

Modified:
  hindent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:32:51 UTC (rev 403143)
+++ PKGBUILD2018-11-07 19:39:54 UTC (rev 403144)
@@ -3,7 +3,7 @@
 
 pkgname=hindent
 pkgver=5.2.7
-pkgrel=47
+pkgrel=48
 pkgdesc="Extensible Haskell pretty printer"
 url="https://github.com/commercialhaskell/hindent;
 license=("custom:BSD3")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:32:51
  Author: felixonmars
Revision: 403143

archrelease: copy trunk to community-staging-x86_64

Added:
  hedgewars/repos/community-staging-x86_64/
  hedgewars/repos/community-staging-x86_64/PKGBUILD
(from rev 403142, hedgewars/trunk/PKGBUILD)

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

Copied: hedgewars/repos/community-staging-x86_64/PKGBUILD (from rev 403142, 
hedgewars/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:32:51 UTC (rev 403143)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Sergej Pupykin 
+# Contributor: Tinxy 
+
+pkgname=hedgewars
+pkgver=0.9.24.1
+pkgrel=73
+pkgdesc="Turn-based strategy artillery game similiar to Worms"
+arch=('x86_64')
+url="https://hedgewars.org;
+license=('GPL' 'custom')
+depends=('qt5-base' 'sdl2' 'sdl2_mixer' 'sdl2_image' 'sdl2_net' 'sdl2_ttf' 
'lua51' 'ffmpeg' 'glut'
+ 'physfs' 'ghc-libs' 'haskell-entropy' 'haskell-sha' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-sandi' 'haskell-hslogger' 'haskell-utf8-string' 
'haskell-vector')
+makedepends=('fpc' 'cmake' 'qt5-tools' 'ghc' 'haskell-network' 
'haskell-bytestring-show'
+ 'haskell-zlib' 'haskell-base-prelude' 'imagemagick' 'mesa')
+source=("https://www.hedgewars.org/download/releases/hedgewars-src-$pkgver.tar.bz2;)
+sha512sums=('b0b166c807e0d08a763e5e88e178d6e629baa420685bbfe381db7b5ecf003175892f8c2e3b75f1f6d7663335bd5b417d1a2afdc89b9d56b348b056ee3490ed2f')
+
+prepare() {
+  cd hedgewars-src-$pkgver
+  sed -i 's|set(ghc_flags|set(ghc_flags -dynamic|' gameServer/CMakeLists.txt
+}
+
+build() {
+  cd hedgewars-src-$pkgver
+  cmake \
+-DCMAKE_BUILD_TYPE="Release" \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DDATA_INSTALL_DIR=/usr/share/hedgewars \
+-DNOSERVER=0 \
+.
+  make
+
+  # resize icon
+  for _size in 16 32 48 64 128 256; do
+convert +set date:create +set date:modify misc/hedgewars.png -resize 
${_size}x${_size} hedgewars_${_size}.png
+  done
+}
+
+package() {
+  cd hedgewars-src-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 Fonts_LICENSE.txt 
"$pkgdir"/usr/share/licenses/${pkgname}/Fonts_LICENSE.txt
+
+  # install icons
+  install -D -m644 misc/hedgewars.png 
"$pkgdir"/usr/share/icons/hicolor/512x512/apps/hedgewars.png
+  for _size in 16 32 48 64 128 256; do
+install -D -m644 hedgewars_${_size}.png 
"$pkgdir"/usr/share/icons/hicolor/${_size}x${_size}/apps/hedgewars.png
+  done
+  rm -rf "$pkgdir"/usr/share/pixmaps
+
+  install -D -m644 share/hedgewars/Data/misc/hedgewars.desktop 
"$pkgdir"/usr/share/applications/hedgewars.desktop
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:32:28
  Author: felixonmars
Revision: 403142

upgpkg: hedgewars 0.9.24.1-73

rebuild with ghc 8.6.2

Modified:
  hedgewars/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:27:19 UTC (rev 403141)
+++ PKGBUILD2018-11-07 19:32:28 UTC (rev 403142)
@@ -4,7 +4,7 @@
 
 pkgname=hedgewars
 pkgver=0.9.24.1
-pkgrel=72
+pkgrel=73
 pkgdesc="Turn-based strategy artillery game similiar to Worms"
 arch=('x86_64')
 url="https://hedgewars.org;


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:27:19
  Author: felixonmars
Revision: 403141

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 403140, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 403140, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:27:19 UTC (rev 403141)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=8
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-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 $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:27:01
  Author: felixonmars
Revision: 403140

upgpkg: hasktags 0.71.2-8

rebuild with ghc 8.6.2

Modified:
  hasktags/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:26:12 UTC (rev 403139)
+++ PKGBUILD2018-11-07 19:27:01 UTC (rev 403140)
@@ -3,7 +3,7 @@
 
 pkgname=hasktags
 pkgver=0.71.2
-pkgrel=7
+pkgrel=8
 pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
 url="https://github.com/MarcWeber/hasktags;
 license=("custom:BSD3")


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:25:54
  Author: felixonmars
Revision: 403138

upgpkg: haskell-mustache 2.3.0-111

rebuild with ghc 8.6.2

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:24:47 UTC (rev 403137)
+++ PKGBUILD2018-11-07 19:25:54 UTC (rev 403138)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.0
-pkgrel=110
+pkgrel=111
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('custom:BSD3')
@@ -19,7 +19,7 @@
 cd $_hkgname-$pkgver
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
 runhaskell Setup register --gen-script
@@ -36,9 +36,9 @@
 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 -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
 install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:26:12
  Author: felixonmars
Revision: 403139

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
403138, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:26:12 UTC (rev 403139)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.0
+pkgrel=111
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('bdefb406a44bb3648ca7129128767be04c780d967757385770111a0da8f91ff7165213038e8abc7799b28b66eb7d2f47383346837fad7e6327dad7aa714971f6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:24:47
  Author: felixonmars
Revision: 403137

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 403136, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:24:47 UTC (rev 403137)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.2.1
+pkgrel=73
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-exceptions' 'haskell-hashable' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4054c9951417e65ad7b215f1fdfa497513daa52b18242b4c20ea14a76030ba91a34fed664bd3bd06f6a62a38c3d5d09ada171ad3ca1d43928c709ffc44560b2f')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fdoctest -f-aws -fhttpbin -f-developer
+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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:24:29
  Author: felixonmars
Revision: 403136

upgpkg: haskell-wreq 0.5.2.1-73

rebuild with ghc 8.6.2

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:21:42 UTC (rev 403135)
+++ PKGBUILD2018-11-07 19:24:29 UTC (rev 403136)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.2.1
-pkgrel=72
+pkgrel=73
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq;
 license=('custom:BSD3')
@@ -25,7 +25,7 @@
 cd $_hkgname-$pkgver
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -fdoctest -f-aws -fhttpbin -f-developer
 runhaskell Setup build
@@ -43,9 +43,9 @@
 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 -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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
 }


[arch-commits] Commit in haskell-snap-server/repos/community-staging-x86_64 (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:21:42
  Author: felixonmars
Revision: 403135

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-snap-server/repos/community-staging-x86_64/PKGBUILD
(from rev 403134, haskell-snap-server/trunk/PKGBUILD)
Deleted:
  haskell-snap-server/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  120 ++---
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 19:21:23 UTC (rev 403134)
+++ PKGBUILD2018-11-07 19:21:42 UTC (rev 403135)
@@ -1,60 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=snap-server
-pkgname=haskell-snap-server
-pkgver=1.1.0.0
-pkgrel=68
-pkgdesc="A web server for the Snap Framework"
-url="https://github.com/snapframework/snap-server;
-license=('custom:BSD3')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
- 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
- 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
- 'haskell-vector')
-makedepends=('ghc')
-checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
- 'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
- 'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
- 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i -e '/bytestring-builder/d' -e 's/<.*2.7/<3/' -e 's/< *0.6/<1/' -e 
's/< *4.12/<5/' $_hkgname.cabal
-}
-
-build() {
-cd $_hkgname-$pkgver
-
-if (( CHECKFUNC )); then
-_opts=('--enable-tests')
-else
-_opts=('--disable-tests')
-fi
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
403134, haskell-snap-server/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 19:21:42 UTC (rev 403135)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.0.0
+pkgrel=69
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+ 'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+ 'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/bytestring-builder/d' -e 's/<.*2.7/<3/' -e 's/< *0.6/<1/' -e 
's/< *4.12/<5/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell 

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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:21:23
  Author: felixonmars
Revision: 403134

upgpkg: haskell-snap-server 1.1.0.0-69

rebuild with ghc 8.6.2

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:19:00 UTC (rev 403133)
+++ PKGBUILD2018-11-07 19:21:23 UTC (rev 403134)
@@ -3,7 +3,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.0.0
-pkgrel=68
+pkgrel=69
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server;
 license=('custom:BSD3')


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:19:00
  Author: felixonmars
Revision: 403133

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-streams/repos/community-staging-x86_64/
  haskell-http-streams/repos/community-staging-x86_64/PKGBUILD
(from rev 403132, haskell-http-streams/trunk/PKGBUILD)

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
403132, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:19:00 UTC (rev 403133)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.6.1
+pkgrel=69
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*1.1/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:18:42
  Author: felixonmars
Revision: 403132

upgpkg: haskell-http-streams 0.8.6.1-69

rebuild with ghc 8.6.2

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:18:07 UTC (rev 403131)
+++ PKGBUILD2018-11-07 19:18:42 UTC (rev 403132)
@@ -3,7 +3,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.6.1
-pkgrel=68
+pkgrel=69
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams;
 license=('custom:BSD3')
@@ -34,7 +34,7 @@
 fi
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" "${_opts[@]}" \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
 runhaskell Setup register --gen-script
@@ -51,9 +51,9 @@
 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 -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 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
 }


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:18:07
  Author: felixonmars
Revision: 403131

archrelease: copy trunk to community-any

Added:
  you-get/repos/community-any/PKGBUILD
(from rev 403130, you-get/trunk/PKGBUILD)
Deleted:
  you-get/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-07 19:17:49 UTC (rev 403130)
+++ PKGBUILD2018-11-07 19:18:07 UTC (rev 403131)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=you-get
-pkgver=0.4.1164
-pkgrel=1
-pkgdesc="A YouTube/Youku/Niconico video downloader written in Python 3."
-url="http://www.soimort.org/you-get/;
-arch=('any')
-license=('MIT')
-depends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/soimort/you-get/archive/v$pkgver.tar.gz;)
-sha512sums=('231d2894dca8581e9eb5930154b29194bc9df27f9ac316221991d55d2b95f4cc267948d1721c3e0377e454f4a5bce95134e5271a06502ac819bc58010e7b2c52')
-
-build() {
-  cd you-get-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd you-get-$pkgver
-  LC_CTYPE=en_US.UTF-8 python setup.py test
-}
-
-package() {
-  cd you-get-$pkgver
-  python setup.py install --root="$pkgdir"
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-  install -Dm644 contrib/completion/_you-get 
"$pkgdir"/usr/share/zsh/site-functions/_you-get
-  install -Dm644 contrib/completion/you-get-completion.bash 
"$pkgdir"/usr/share/bash-completion/completions/you-get
-  install -Dm644 contrib/completion/you-get.fish 
"$pkgdir"/usr/share/fish/completions/you-get.fish
-}

Copied: you-get/repos/community-any/PKGBUILD (from rev 403130, 
you-get/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-07 19:18:07 UTC (rev 403131)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+
+pkgname=you-get
+pkgver=0.4.1167
+pkgrel=1
+pkgdesc="A YouTube/Youku/Niconico video downloader written in Python 3."
+url="http://www.soimort.org/you-get/;
+arch=('any')
+license=('MIT')
+depends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/soimort/you-get/archive/v$pkgver.tar.gz;)
+sha512sums=('fcef7ae7a631564f8da82e4ad477c09720717fc5cb0f1c4c196a035b890656bad97b537ff043ab8f29aa314afba0836ed36f8e2733ba09a85b613a890f98b5ab')
+
+build() {
+  cd you-get-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd you-get-$pkgver
+  LC_CTYPE=en_US.UTF-8 python setup.py test
+}
+
+package() {
+  cd you-get-$pkgver
+  python setup.py install --root="$pkgdir"
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+  install -Dm644 contrib/completion/_you-get 
"$pkgdir"/usr/share/zsh/site-functions/_you-get
+  install -Dm644 contrib/completion/you-get-completion.bash 
"$pkgdir"/usr/share/bash-completion/completions/you-get
+  install -Dm644 contrib/completion/you-get.fish 
"$pkgdir"/usr/share/fish/completions/you-get.fish
+}


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:17:49
  Author: felixonmars
Revision: 403130

upgpkg: you-get 0.4.1167-1

Modified:
  you-get/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 19:16:47 UTC (rev 403129)
+++ PKGBUILD2018-11-07 19:17:49 UTC (rev 403130)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=you-get
-pkgver=0.4.1164
+pkgver=0.4.1167
 pkgrel=1
 pkgdesc="A YouTube/Youku/Niconico video downloader written in Python 3."
 url="http://www.soimort.org/you-get/;
@@ -9,7 +9,7 @@
 license=('MIT')
 depends=('python-setuptools')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/soimort/you-get/archive/v$pkgver.tar.gz;)
-sha512sums=('231d2894dca8581e9eb5930154b29194bc9df27f9ac316221991d55d2b95f4cc267948d1721c3e0377e454f4a5bce95134e5271a06502ac819bc58010e7b2c52')
+sha512sums=('fcef7ae7a631564f8da82e4ad477c09720717fc5cb0f1c4c196a035b890656bad97b537ff043ab8f29aa314afba0836ed36f8e2733ba09a85b613a890f98b5ab')
 
 build() {
   cd you-get-$pkgver


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

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 19:16:47
  Author: felixonmars
Revision: 403129

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-snap-server/repos/community-staging-x86_64/
  haskell-snap-server/repos/community-staging-x86_64/PKGBUILD
(from rev 403128, haskell-snap-server/trunk/PKGBUILD)

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
403128, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 19:16:47 UTC (rev 403129)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.0.0
+pkgrel=68
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server;
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+ 'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+ 'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/bytestring-builder/d' -e 's/<.*2.7/<3/' -e 's/< *0.6/<1/' -e 
's/< *4.12/<5/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-07 Thread Jürgen Hötzel via arch-commits
Date: Wednesday, November 7, 2018 @ 19:15:51
  Author: juergen
Revision: 338042

upgpkg: metalog 20181125-1

Modified:
  metalog/trunk/PKGBUILD

--+
 PKGBUILD |   16 +---
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-07 18:34:05 UTC (rev 338041)
+++ PKGBUILD2018-11-07 19:15:51 UTC (rev 338042)
@@ -2,27 +2,29 @@
 # Contributor: Tom Newsom 
 
 pkgname=metalog
-pkgver=3.0
-pkgrel=3
+pkgver=20181125
+pkgrel=1
 pkgdesc="A modern replacement for syslogd and klogd"
 url="http://metalog.sourceforge.net;
 license=('GPL')
 arch=('x86_64')
+makedepends=('autoconf-archive')
 depends=('pcre')
 provides=('logger')
 backup=('etc/metalog.conf')
-source=("http://sourceforge.net/projects/metalog/files/metalog-3.tar.xz/download;
 'metalog.service')
-md5sums=('6fe404e49764fa24108fd090417bacb5'
- '42b8138e8868ecdf0616f73efca7b339')
+source=("https://github.com/hvisage/metalog/archive/${pkgver}.tar.gz; 
'metalog.service')
+sha256sums=('191cbe9cfc2fe42c20b13f3d22299c9f575a9d03c0b7114499f3d9db08deb341'
+'d6e51d73683d2d460f9b9cf253f85118a6c63266d0d3a161100f80f148f4c430')
 
 build() {
-  cd $pkgname-3
+  cd $pkgname-${pkgver}
+  ./autogen.sh
   ./configure --prefix=/usr --sysconfdir=/etc --sbin=/usr/bin
   make
 }
 
 package() {
-  cd $pkgname-3
+  cd $pkgname-${pkgver}
   make DESTDIR="$pkgdir" install
   install -D -m644 metalog.conf "$pkgdir/etc/metalog.conf"
   install -Dm644 "${srcdir}"/metalog.service 
"${pkgdir}"/usr/lib/systemd/system/metalog.service


  1   2   3   4   5   6   7   8   >