Date: Saturday, February 10, 2018 @ 10:41:09 Author: felixonmars Revision: 290994
archrelease: copy trunk to community-staging-x86_64 Added: xmobar/repos/community-staging-x86_64/ xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 290993, xmobar/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 290993, xmobar/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-02-10 10:41:09 UTC (rev 290994) @@ -0,0 +1,38 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=xmobar +pkgver=0.24.5 +pkgrel=18 +pkgdesc='Minimalistic Text Based Status Bar' +url='https://hackage.haskell.org/package/xmobar' +license=('custom:BSD3') +arch=('x86_64') +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-dbus' 'haskell-libmpd') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/xmobar/${pkgver}/xmobar-${pkgver}.tar.gz) +sha512sums=('b7f4c8b206640d7d0fc60e326fffdc31f4c00df0ffac86102d40035bc632c808cfa19485073059a9c9a01c45b7a9e0aa2bba8dfa27ce9df79d1247a3a13073d4') + +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" +} + +# vim: ts=2 sw=2 et: