Advertisement
brofi

PKGBUILD xmobar-alsa

Apr 5th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.09 KB | None | 0 0
  1. # Maintainer: Andy B. <brofi.archlinux at gmail dot com>
  2.  
  3. pkgname=xmobar-alsa
  4. pkgver=0.23.1
  5. pkgrel=1
  6. pkgdesc="A Minimalistic Text Based Status Bar compiled with ALSA"
  7. url="http://hackage.haskell.org/package/xmobar"
  8. license=('BSD')
  9. arch=('i686' 'x86_64')
  10. conflicts=('xmobar')
  11. depends=('haskell-alsa-core>=0.5.0' 'haskell-alsa-mixer>=0.2.0' 'gmp' 'libxft' 'libxinerama' 'wireless_tools' 'libxrandr' 'libxpm')
  12. makedepends=('ghc=7.10.3' 'haskell-x11' 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
  13.              'haskell-stm' 'haskell-parsec' 'haskell-mtl' 'haskell-regex-base' 'haskell-regex-compat' 'haskell-http')
  14. source=(http://hackage.haskell.org/packages/archive/xmobar/$pkgver/xmobar-$pkgver.tar.gz)
  15.  
  16. build() {
  17.     cd xmobar-$pkgver
  18.  
  19.     runhaskell Setup configure --prefix=/usr --flags="with_utf8 with_xft with_iwlib with_xpm with_alsa"
  20.     runhaskell Setup build
  21. }
  22.  
  23. package() {
  24.     cd xmobar-$pkgver
  25.     runhaskell Setup copy --destdir="$pkgdir"
  26.     install -D -m644 license "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  27. }
  28.  
  29. md5sums=('f97a10f049796f55cc3d13ee68d07eac')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement