Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 11th, 2010  |  syntax: Bash  |  size: 0.99 KB  |  views: 29  |  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: Andreas Hübner <andhu@gmx.de>
  2. pkgname=unicode
  3. pkgver=0.9.5
  4. pkgrel=1
  5. pkgdesc="A command line unicode database query tool"
  6. url="http://kassiopeia.juls.savba.sk/~garabik/software/unicode/"
  7. arch=('any')
  8. license=('GPL3')
  9. depends=('python2>=2.3')
  10. backup=()
  11. options=()
  12. source=(http://kassiopeia.juls.savba.sk/~garabik/software/unicode/${pkgname}_${pkgver}.tar.gz
  13.         http://www.unicode.org/Public/UNIDATA/UnicodeData.txt)
  14. md5sums=('754ed23af5dfe40f38c82b28329f6593'
  15.          'f5338142b5dd42c577fe7a6daed1cf4b')
  16.  
  17. build() {
  18.   cd "$srcdir/$pkgname-$pkgver"
  19.  
  20.   sed -i 's/python$/python2/' unicode
  21.   sed -i 's/python$/python2/' paracode
  22.  
  23.   install -Dm755 unicode $pkgdir/usr/bin/unicode
  24.   install -Dm755 paracode $pkgdir/usr/bin/paracode
  25.  
  26.   install -Dm644 unicode.1 $pkgdir/usr/share/man/man1/unicode.1
  27.   install -Dm644 paracode.1 $pkgdir/usr/share/man/man1/paracode.1
  28.  
  29.   install -Dm644 $srcdir/UnicodeData.txt $pkgdir/usr/share/unicode/UnicodeData.txt
  30. }
  31.  
  32. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data