Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2013
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. #Maintainer: Juanma Hernandez <juanmah@gmail.com>
  2.  
  3. pkgname=zotero-git
  4. pkgver=20120818
  5. pkgrel=1
  6. pkgdesc='Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.'
  7. arch=('i686' 'x86_64')
  8. url='http://www.zotero.org/support/standalone'
  9. license=('GPL3')
  10. makedepends=('perl' 'bash' 'git')
  11.  
  12. _gitroot="https://github.com/zotero/zotero-standalone-build"
  13. _gitname="zotero-standalone-build"
  14.  
  15. build() {
  16. cd "$srcdir"
  17. msg "Connecting to GIT server...."
  18.  
  19. if [ -d $_gitname ] ; then
  20. cd $_gitname && git pull origin
  21. msg "The local files are updated."
  22. else
  23. git clone $_gitroot $_gitname
  24. fi
  25.  
  26. msg "GIT checkout done or server timeout"
  27. }
  28.  
  29. package() {
  30. cd $_gitname
  31. sed -i -e 's/BUILD_MAC=1/BUILD_MAC=0/' config.sh
  32. sed -i -e 's/BUILD_WIN32=1/BUILD_WIN32=0/' config.sh
  33. sh fetch_xulrunner.sh
  34. sh build.sh
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement