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

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 9 12:33:43 UTC 2022


    Date: Tuesday, August 9, 2022 @ 12:33:42
  Author: felixonmars
Revision: 1263529

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-09 12:33:30 UTC (rev 1263528)
+++ PKGBUILD	2022-08-09 12:33:42 UTC (rev 1263529)
@@ -1,69 +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.40
-pkgrel=6
-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-parsec-numbers'
-         'haskell-regex-compat' 'haskell-old-locale'
-         'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal' 'haskell-netlink'
-         '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' 'uusi' 'haskell-hspec' 'haskell-temporary')
-source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('4e8636f86cafbc71ec6f7fba48772954036537a5eca83f0402e988b85ff74e3bc2f8d9435d428e80966e4c781a049e752aa5ebb8a9a7e1da877fe74e51622ef6')
-
-prepare() {
-  cd xmobar-${pkgver}
-  uusi -u base xmobar.cabal
-}
-
-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=-fllvm \
-    --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-x86_64/PKGBUILD (from rev 1263528, xmobar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-09 12:33:42 UTC (rev 1263529)
@@ -0,0 +1,69 @@
+# 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.41
+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-parsec-numbers'
+         'haskell-regex-compat' 'haskell-old-locale'
+         'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal' 'haskell-netlink'
+         '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' 'uusi' 'haskell-hspec' 'haskell-temporary')
+source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('7758e3c0daa0f9fe3db719d44e6be5b5fbcaec1fbef64b6306dbc9a9183b301cfbaa638498c3149b02212e198644fdacc4cc4341756b59aef8caebde68b92cd2')
+
+prepare() {
+  cd xmobar-${pkgver}
+  uusi -u base xmobar.cabal
+}
+
+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=-fllvm \
+    --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