updated dependencies for xmobar-git

This commit is contained in:
Cedric Girard 2012-09-05 11:35:33 +02:00
parent f25ce040ce
commit 2077de01d9

View file

@ -1,13 +1,39 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com> # Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=xmobar-git pkgname=xmobar-git
pkgver=20120305 pkgver=20120905
pkgrel=1 pkgrel=1
pkgdesc="A minimal status bar for the XMonad Window Manager" pkgdesc="A minimal status bar for the XMonad Window Manager"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://projects.haskell.org/xmobar/" url="http://projects.haskell.org/xmobar/"
license=('custom:BSD3') license=('custom:BSD3')
makedepends=('ghc' 'haskell-x11<1.6' 'haskell-x11-xft<0.4' 'haskell-alsa-core<0.6' 'haskell-alsa-mixer<0.2' 'haskell-bytestring=0.9.2.1' 'haskell-containers=0.4.2.1' 'haskell-dbus-core>=0.9.2.1' 'haskell-directory=1.1.0.2' 'haskell-filepath=1.3.0.0' 'haskell-hinotify<0.4' 'haskell-libmpd<0.8' 'haskell-mtl=2.0.1.0' 'haskell-old-locale=1.0.0.4' 'haskell-old-time=1.1.0.0' 'haskell-parsec=3.1.2' 'haskell-process=1.1.0.1' 'haskell-stm=2.2.0.1' 'haskell-text=0.11.1.13' 'haskell-time=1.4' 'haskell-timezone-olson<0.2' 'haskell-timezone-series<0.2' 'haskell-unix=2.5.1.0' 'haskell-utf8-string<0.4' 'libxrandr' 'iw' 'git') makedepends=(
depends=('iw' 'gmp' 'libxinerama' 'libxft' 'alsa-lib') 'ghc'
'haskell-x11<1.7'
'haskell-x11-xft<0.4'
'haskell-alsa-core<0.6'
'haskell-alsa-mixer<0.2'
'haskell-bytestring=0.9.2.1'
'haskell-containers=0.4.2.1'
'haskell-dbus>=0.10'
'haskell-directory=1.1.0.2'
'haskell-filepath=1.3.0.0'
'haskell-hinotify<0.4'
'haskell-libmpd<0.9'
'haskell-mtl<2.2'
'haskell-old-locale=1.0.0.4'
'haskell-parsec<3.2'
'haskell-process=1.1.0.1'
'haskell-stm<2.5'
'haskell-time=1.4'
'haskell-timezone-olson<0.2'
'haskell-timezone-series<0.2'
'haskell-unix=2.5.1.1'
'haskell-utf8-string<0.4'
'libxrandr'
'wireless_tools'
'git'
)
depends=('wireless_tools' 'gmp' 'libxml2' 'libxrandr' 'libxinerama' 'libxft' 'alsa-lib')
conflicts=('xmobar' 'xmobar-darcs') conflicts=('xmobar' 'xmobar-darcs')
install= install=
source=() source=()
@ -24,7 +50,7 @@ build() {
cd $_gitname && git pull origin cd $_gitname && git pull origin
msg "The local files are updated." msg "The local files are updated."
else else
git clone $_gitroot $_gitname git clone $_gitroot $_gitname
fi fi
msg "GIT checkout done or server timeout" msg "GIT checkout done or server timeout"
@ -33,14 +59,14 @@ build() {
rm -rf "${srcdir}/$_gitname-build" rm -rf "${srcdir}/$_gitname-build"
git clone "${srcdir}/$_gitname" "${srcdir}/$_gitname-build" git clone "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
cd "${srcdir}/$_gitname-build" cd "${srcdir}/$_gitname-build"
runhaskell Setup configure --flags="all_extensions" --prefix=/usr
runhaskell Setup build
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/BSD3 runhaskell Setup configure --flags="all_extensions" --prefix=/usr
runhaskell Setup build
install -D -m644 license ${pkgdir}/usr/share/licenses/$pkgname/BSD3
} }
package() { package() {
cd "${srcdir}/$_gitname-build" cd "${srcdir}/$_gitname-build"
runhaskell Setup copy --destdir=${pkgdir} runhaskell Setup copy --destdir=${pkgdir}
} }