This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

bup - PKGBUILD

By: a guest on Dec 20th, 2012  |  syntax: Bash  |  size: 1.05 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Bram Schoenmakers <me@bramschoenmakers.nl>
  2. # Contributor: henning mueller <henning@orgizm.net>
  3.  
  4. # If you'd like to have documentation, please set the variable below to 1.
  5. # This implies installing pandoc, which in turn depends on many Haskell packages.
  6. _havedocs=0
  7.  
  8. pkgname=bup
  9. pkgver=0.25rc1
  10. _pkgver=0.25-rc1
  11. pkgrel=2
  12. pkgdesc="Backup tool using git pack files."
  13. arch=('i686' 'x86_64')
  14. url="http://github.com/apenwarr/bup"
  15. license=('GPL')
  16. depends=('python2-fuse' 'par2cmdline')
  17. [ $_havedocs = 1 ] && makedepends=('haskell-pandoc')
  18. source=("https://github.com/apenwarr/${pkgname}/archive/${pkgname}-${_pkgver}.tar.gz")
  19.  
  20. build() {
  21.   cd "${srcdir}/${pkgname}-${pkgname}-${_pkgver}"
  22.  
  23.   find . -name \*.py | xargs sed -i 's:env python:env python2:'
  24.   sed -i 's:PYTHON=python:PYTHON=python2:' Makefile
  25.   sed -i 's:PYTHON=`acLookFor python`:PYTHON=`acLookFor python2`:' config/configure
  26.  
  27.   make
  28. }
  29.  
  30. package() {
  31.   cd "${srcdir}/${pkgname}-${pkgname}-${_pkgver}"
  32.   make DESTDIR=$pkgdir install
  33. }
  34. md5sums=('9d9af10900d84e2951aa64631ff4860d')
clone this paste RAW Paste Data