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

Levente Polyak anthraxx at archlinux.org
Tue Sep 26 15:02:43 UTC 2017


    Date: Tuesday, September 26, 2017 @ 15:02:42
  Author: anthraxx
Revision: 260626

upgpkg: xmobar 0.24.5-6 (adding support for mpd and dbus)

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-26 13:27:22 UTC (rev 260625)
+++ PKGBUILD	2017-09-26 15:02:42 UTC (rev 260626)
@@ -1,31 +1,38 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# 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.24.5
-pkgrel=5
-pkgdesc="A Minimalistic Text Based Status Bar"
-url="https://hackage.haskell.org/package/xmobar"
+pkgrel=6
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('libxft' 'libxinerama' 'wireless_tools' 'libxrandr' 'libxpm' 'ghc' 'haskell-x11'
+depends=('libxft' 'libxinerama' 'wireless_tools' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
          'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri' 'haskell-hinotify'
          'haskell-stm' 'haskell-parsec' 'haskell-mtl' 'haskell-regex-base' 'haskell-regex-compat'
-         'haskell-http')
+         'haskell-http' 'haskell-dbus' 'haskell-libmpd')
 makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/xmobar/$pkgver/xmobar-$pkgver.tar.gz)
-md5sums=('9befdb157b5adedd7150e4e07f0efbde')
+source=(https://hackage.haskell.org/packages/archive/xmobar/${pkgver}/xmobar-${pkgver}.tar.gz)
+sha512sums=('b7f4c8b206640d7d0fc60e326fffdc31f4c00df0ffac86102d40035bc632c808cfa19485073059a9c9a01c45b7a9e0aa2bba8dfa27ce9df79d1247a3a13073d4')
 
 build() {
-    cd xmobar-$pkgver
-
-    runhaskell Setup configure --prefix=/usr --enable-executable-dynamic --flags="with_utf8 with_xft with_iwlib with_xpm with_inotify"
-    runhaskell Setup 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"
+  runhaskell Setup build
 }
 
 package() {
-    cd xmobar-$pkgver
-    runhaskell Setup copy --destdir=${pkgdir}
-    install -D -m644 license ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+  cd xmobar-${pkgver}
+  runhaskell Setup copy --destdir="${pkgdir}"
+  install -D -m644 license "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list