desktop/cb2bib/PKGBUILD

36 lines
1.0 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cb2bib
pkgver=1.4.7
pkgrel=1
pkgdesc="A tool for parsing clipboard data into BibTeX bibliographic database files"
arch=('i686' 'x86_64')
url="http://www.molspaces.com/cb2bib/"
license=('GPL3')
depends=('desktop-file-utils' 'lzo2' 'qt>=4.4.0')
optdepends=('openssl: network reference query support'
'perl-exiftool: meta data support'
'texlive-latex3: file correctness checking; bib2pdf printing'
'xpdf: pdftotext support')
categories=('office')
install=cb2bib.install
source=(http://www.molspaces.com/dl/progs/$pkgname-$pkgver.tar.gz)
md5sums=('e464dff22bf672b665e3828855679f93')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix /usr --qmakepath /usr/bin/qmake
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make INSTALL_ROOT="$pkgdir" install
}