blob: 1a629012f937c8e6a7242b1b32f5774dd654fe47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Sergey Salnikov <salsergey at gmail dot com>
pkgname=citebib
_pkgname=CiteBib
pkgver=0.4.6
pkgrel=1
pkgdesc="Generate a nice Bibtex or Latex bibliography according to the document content"
arch=('any')
url="https://github.com/salsergey/CiteBib"
license=('GPL3')
depends=('python' 'python-bibtexparser')
makedepends=('python-setuptools')
checkdepends=('python-nose')
source=(https://github.com/salsergey/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.xz)
sha256sums=('e7a3e1dff586595457361c608847f163955e5d64e59d375d9ada9d41278d885a')
build() {
cd "${pkgname}-${pkgver}"
python setup.py build
}
check() {
cd "${pkgname}-${pkgver}"
nosetests3
}
package() {
cd "${pkgname}-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:ts=2:sw=2:et:
|