New Paste

 

Recent Pastes

Administrate




Pastebin on paste.luisaranguren.com

PasteID: 1fs
Pasted by Anonymous, 2019-08-19 05:16:40 GMT
Expires Never
Paste size 1.41 Kb
Tools Raw   Download
 
  1. # Maintainer: Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>  
  2.   
  3. pkgname=trizen  
  4. pkgver=1.60  
  5. pkgrel=1  
  6. epoch=1  
  7. pkgdesc="Trizen AUR Package Manager: lightweight pacman wrapper and AUR helper."  
  8. arch=('any')  
  9. url="https://github.com/trizen/${pkgname}"  
  10. license=('GPL3')  
  11.   
  12. depends=(  
  13.          'git'  
  14.          'pacutils'  
  15.          'perl>=5.20.0'  
  16.          'perl-libwww'  
  17.          'perl-term-ui'  
  18.          'pacman'  
  19.          'perl-json'  
  20.          'perl-data-dump'  
  21.          'perl-lwp-protocol-https'  
  22.          'perl-term-readline-gnu'  
  23.         )  
  24.   
  25. optdepends=(  
  26.             'highlight: for syntax highlighting'  
  27.             'perl-json-xs: faster JSON deserialization'  
  28.             #'perl-term-readline-gnu: better STDIN support'  
  29.            )  
  30.   
  31. source=("${pkgname}-${pkgver}.tar.gz::https://github.com/trizen/${pkgname}/archive/${pkgver}.tar.gz")  
  32. sha256sums=('21e8bd5366066dd4907a18fca1e0754f9c9671083bf4b950e90bc89d1e81ebf8')  
  33.   
  34. package() {  
  35.   cd "$pkgname-$pkgver"  
  36.   install -m 755 -D $pkgname "$pkgdir/usr/bin/$pkgname"  
  37.   install -m 644 -D "trizen.1" "$pkgdir/usr/share/man/man1/trizen.1"  
  38.   install -m 644 -D "zsh.completion" "$pkgdir/usr/share/zsh/site-functions/_trizen"  
  39.   install -m 644 -D "bash.completion" "$pkgdir/usr/share/bash-completion/completions/trizen"  
  40.   install -m 644 -D "fish.completion" "$pkgdir/usr/share/fish/vendor_completions.d/trizen.fish"  
  41. }  
  42.  
 
 
 
 
Written by Xan Manning, 2010.