Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Jun 24th, 2013  |  syntax: C++  |  size: 0.90 KB  |  views: 37  |  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. pkgname=ponysay-git
  2. _pkgname=ponysay
  3. pkgver=3.0.1.git2039
  4. pkgrel=1
  5. epoch=1
  6. pkgdesc="Cowsay reimplementation for ponies."
  7. arch=('any')
  8. url="https://github.com/erkin/ponysay"
  9. license=('GPL3' 'FDL')
  10. depends=('python3' 'coreutils' )
  11. provides=('ponysay')
  12. conflicts=('ponysay' 'ponysay-git')
  13. optdepends=('util-say:  Improved TTY support utilising KMS and support for PNG files')
  14. makedepends=('git' 'texinfo')
  15. screenshot="http://i.imgur.com/xOJbE.png"
  16. source=("$_pkgname::git+https://github.com/erkin/ponysay")
  17. md5sums=("SKIP")
  18.  
  19. pkgver(){
  20.         cd $_pkgname
  21.         echo "$(git describe --always --abbrev=0 ).git$(git rev-list --count HEAD | sed 's/-/./g' )"
  22. }
  23.  
  24. package() {
  25.         cd $srcdir/$_pkgname
  26.         python3  ./setup.py --prefix=/usr \
  27.                         --everything \
  28.                         --with-pdf-manual=/usr/share/doc/$_pkgname \
  29.                         --without-pdf-manual-compression \
  30.                         --dest-dir="$pkgdir" \
  31.                         --bin-dir=/usr/bin --freedom=partial install
  32. }