mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
28 lines
912 B
Bash
28 lines
912 B
Bash
pkgname=cb2bib
|
|
pkgver=1.5.0
|
|
pkgrel=1
|
|
pkgdesc="A tool for parsing clipboard data into BibTeX bibliographic database files"
|
|
arch=('x86_64')
|
|
url="http://www.molspaces.com/cb2bib/"
|
|
license=('GPL3')
|
|
depends=('desktop-file-utils' 'lzo2' 'qt')
|
|
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)
|
|
sha512sums=('bc1149ebc1dc2f6fb0e2bf04dedc156c2decd5f76a3b57bc24713db5827afb83e5ff2ef4b380d6a4fa6f80ce6375bfa97b2cfdc6d7540f620e3f541a586e998b')
|
|
|
|
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
|
|
}
|