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

Felix Yan felixonmars at archlinux.org
Sun May 16 08:42:40 UTC 2021


    Date: Sunday, May 16, 2021 @ 08:42:40
  Author: felixonmars
Revision: 935688

archrelease: copy trunk to community-testing-x86_64

Added:
  xmobar/repos/community-testing-x86_64/PKGBUILD
    (from rev 935687, xmobar/trunk/PKGBUILD)
Deleted:
  xmobar/repos/community-testing-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 08:42:23 UTC (rev 935687)
+++ PKGBUILD	2021-05-16 08:42:40 UTC (rev 935688)
@@ -1,64 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=xmobar
-pkgver=0.36
-pkgrel=173
-pkgdesc='Minimalistic Text Based Status Bar'
-url='https://hackage.haskell.org/package/xmobar'
-license=('BSD')
-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-cereal' 'haskell-netlink'
-         'haskell-text' 'haskell-async' 'haskell-aeson'
-         'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
-         'haskell-extensible-exceptions' 'haskell-http-conduit'
-         'haskell-http-types' 'haskell-http-client-tls' 'haskell-alsa-core' 'haskell-alsa-mixer')
-makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
-source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('15abb262187448cd71f93e67f04ab40989f541dd02f968924521f99727cd75cb92d650d495fc40ad4bed97fa552185daca7801aa2d5079aa47a39dce9b4ea4f7')
-
-build() {
-  cd xmobar-${pkgver}
-
-  _flags=(with_xft with_utf8 with_inotify with_mpd with_alsa with_nl80211
-          with_datezone with_mpris with_dbus with_xpm with_threaded
-          with_rtsopts with_weather)
-
-  runhaskell setup configure -O \
-    --enable-shared \
-    --enable-executable-dynamic \
-    --disable-library-vanilla \
-    --prefix=/usr \
-    --dynlibdir=/usr/lib \
-    --libsubdir=\$compiler/site-local/\$pkgid \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie' \
-    --flags="${_flags[*]}" \
-    --enable-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 xmobar-${pkgver}
-  runhaskell setup test
-}
-
-package() {
-  cd xmobar-${pkgver}
-  install -Dm 744 register.sh   "${pkgdir}/usr/share/haskell/register/xmobar.sh"
-  install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/xmobar.sh"
-  runhaskell setup copy --destdir="${pkgdir}"
-  install -Dm 644 license -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: xmobar/repos/community-testing-x86_64/PKGBUILD (from rev 935687, xmobar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-16 08:42:40 UTC (rev 935688)
@@ -0,0 +1,64 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=xmobar
+pkgver=0.37
+pkgrel=1
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
+license=('BSD')
+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-cereal' 'haskell-netlink'
+         'haskell-text' 'haskell-async' 'haskell-aeson'
+         'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
+         'haskell-extensible-exceptions' 'haskell-http-conduit'
+         'haskell-http-types' 'haskell-http-client-tls' 'haskell-alsa-core' 'haskell-alsa-mixer')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a02fe9434d209cc4a1b038b440697e95e40f90b8b298b9708db5b335b511ffe924ffe46665003eff6bc475e6886a5a2f5aa4bba839b4e702c7d0103da3d17a52')
+
+build() {
+  cd xmobar-${pkgver}
+
+  _flags=(with_xft with_utf8 with_inotify with_mpd with_alsa with_nl80211
+          with_datezone with_mpris with_dbus with_xpm with_threaded
+          with_rtsopts with_weather)
+
+  runhaskell setup configure -O \
+    --enable-shared \
+    --enable-executable-dynamic \
+    --disable-library-vanilla \
+    --prefix=/usr \
+    --dynlibdir=/usr/lib \
+    --libsubdir=\$compiler/site-local/\$pkgid \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie' \
+    --flags="${_flags[*]}" \
+    --enable-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 xmobar-${pkgver}
+  runhaskell setup test
+}
+
+package() {
+  cd xmobar-${pkgver}
+  install -Dm 744 register.sh   "${pkgdir}/usr/share/haskell/register/xmobar.sh"
+  install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/xmobar.sh"
+  runhaskell setup copy --destdir="${pkgdir}"
+  install -Dm 644 license -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list