blob: 9e207219eba54bc94d593ae3d2b4065a4a32bf19 (
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
|
# Contributor: Gour <gour@gour-nitai.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=bibstuff
pkgver=1.3.1
pkgrel=1
epoch=1
pkgdesc="Collection of python2 scripts and modules for interacting with BibTeX style databases of citation references"
url="http://dschwilk.github.io/bibstuff"
arch=('any')
license=('MIT')
depends=('python2-simpleparse')
makedepends=('git')
source=(git+https://github.com/dschwilk/bibstuff#commit=0090c406677a35cfdf790894480a2aee8e319419)
md5sums=('SKIP')
package() {
cd $pkgname
python2 setup.py install --root="$pkgdir"
# copying license information
install -D -m644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
# copying readme information
install -Dm644 README.rst "$pkgdir"/usr/share/doc/$pkgname/README.rst
# copying examples directory
install -d "$pkgdir"/usr/share/doc/$pkgname/examples
cp examples/* "$pkgdir"/usr/share/doc/$pkgname/examples
}
|