SHARE
TWEET

fluxbox-git PKGBUILD

a guest Jan 13th, 2013 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer:  Devin Cofer <ranguvar{AT]archlinux[DOT}us>
  2. # Contributor: CainĂ£ Costa <sryche@archlinux-br.org>
  3. # Contributor: Patrick Bartels <p4ddy.b@gmail.com>
  4. # Contributor: Gimmeapill <gimmeapill[at]gmail[dot]com>
  5.  
  6. pkgname=fluxbox-git
  7. _pkgname=fluxbox
  8. pkgdesc="Lightweight stacking WM with tabbing, dockapps, etc. (Dev version)"
  9. pkgver=20130113
  10. pkgrel=1
  11. arch=('i686' 'x86_64')
  12. license=('MIT')
  13. url="http://www.fluxbox.org/"
  14. makedepends=('git' 'pkgconfig')
  15. depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'imlib2' 'fribidi')
  16. optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities')
  17. provides=('fluxbox')
  18. source=("$_pkgname.desktop")
  19. sha256sums=('e1e6cc6a7e55df1981ff5df1bd345221e657ed68ac12583553b951e454695d67')
  20.  
  21. _gitroot="git://git.fluxbox.org/fluxbox.git"
  22. _gitname="fluxbox"
  23.  
  24. build() {
  25.                 cd "$srcdir"
  26.         msg "Performing source checkout..."
  27.         if [ -d "$_gitname" ]; then
  28.                 cd "$_gitname"
  29.                 git pull origin
  30.                 cd ..
  31.         else
  32.                 git clone "$_gitroot"
  33.         fi
  34.         msg "Source checkout finished."
  35.         rm -rf "$_gitname-build"
  36.         git clone "$_gitname" "$_gitname-build"
  37.         cd "$_gitname-build"
  38.         ./autogen.sh
  39.         ./configure --prefix=/usr \
  40.         --enable-xft --enable-xinerama \
  41.         --enable-imlib2 --enable-nls
  42.         make
  43. }
  44.        
  45. package() {    
  46.         cd "$srcdir/$_gitname-build"
  47.         make DESTDIR="$pkgdir" install 
  48.         install -D -m644 "$srcdir/$_pkgname.desktop" "${pkgdir}/usr/share/xsessions/fluxbox.desktop"
  49.     install -D -m644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
  50. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top