Date: Tuesday, March 20, 2018 @ 08:14:20 Author: felixonmars Revision: 309516
archrelease: copy trunk to community-staging-x86_64 Added: xmobar/repos/community-staging-x86_64/ xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 309515, xmobar/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 309515, xmobar/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-20 08:14:20 UTC (rev 309516) @@ -0,0 +1,40 @@ +# 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.25 +pkgrel=16 +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-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=('ca11d93d7bff9e6fd623607b25dbbd3d38c9f7b356183616d2c2050597b56b5f4636351a606d32acab232b32315f3639b78ae9f7e4385f68c810af30895c5717') + +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: