Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Maintainer: Juanma Hernandez <juanmah@gmail.com>
- pkgname=zotero-git
- pkgver=20120818
- pkgrel=1
- pkgdesc='Zotero Standalone. Is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.'
- arch=('i686' 'x86_64')
- url='http://www.zotero.org/support/standalone'
- license=('GPL3')
- makedepends=('perl' 'bash' 'git')
- _gitroot="https://github.com/zotero/zotero-standalone-build"
- _gitname="zotero-standalone-build"
- build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
- if [ -d $_gitname ] ; then
- cd $_gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot $_gitname
- fi
- msg "GIT checkout done or server timeout"
- }
- package() {
- cd $_gitname
- sed -i -e 's/BUILD_MAC=1/BUILD_MAC=0/' config.sh
- sed -i -e 's/BUILD_WIN32=1/BUILD_WIN32=0/' config.sh
- sh fetch_xulrunner.sh
- sh build.sh
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement