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

solstice

By: a guest on Jul 9th, 2010  |  syntax: None  |  size: 0.71 KB  |  views: 110  |  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. # Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
  2.  
  3. pkgname=pastebinit
  4. pkgver=1.1
  5. pkgrel=0
  6. pkgdesc="A software that lets you send anything you want directly to a pastebin from the command line"
  7. arch=(any)
  8. url="http://launchpad.net/pastebinit"
  9. license=("GPL")
  10. depends=("python")
  11. makedepends=("asciidoc")
  12. source=(http://launchpad.net/pastebinit/trunk/$pkgver/+download/pastebinit-$pkgver.tar.gz)
  13.  
  14. build() {
  15.         cd $startdir/src/$pkgname-$pkgver
  16.         mkdir -p $pkgdir/usr/{bin,share/man/man1,share/locale} $pkgdir/etc
  17.         install -m 755 pastebinit $pkgdir/usr/bin
  18.         cp -a pastebin.d $pkgdir/etc
  19.         a2x -f manpage pastebinit.xml
  20.         install -m 644 pastebinit.1 $pkgdir/usr/share/man/man1
  21.         cd po
  22.         make
  23.         cp -a mo/* $pkgdir/usr/share/locale
  24. }
clone this paste RAW Paste Data