blob: d9a134507d1a93bf70ba0daeefbb91137e7c6feb (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Florian Dejonckheere <florian at floriandejonckheere dot be>
# Contributor: Ian D. Scott <ian@perebruin.com>
# Contributor: Mariusz Libera <mariusz.libera@gmail.com>
pkgname=dantalian-git
_pkgname=dantalian
pkgver=78f4cb9
pkgrel=1
pkgdesc="Transparent tag-based file organization system."
arch=('any')
url="http://darkfeline.github.io/dantalian/"
license=('mit')
depends=('python' 'git')
conflicts=("${_pkgname}")
optdepends=('fuse: additional features')
makedepends=('python-sphinx')
source=("git+https://github.com/darkfeline/${_pkgname}.git")
md5sums=('SKIP')
pkgver()
{
cd "${srcdir}/${_gitname}"
git describe --always | sed 's|-|,|g'
}
build()
{
cd "${srcdir}/${_pkgname}/doc"
make man singlehtml
}
package()
{
cd "${srcdir}/${_pkgname}"
python setup.py install --root="${pkgdir}/"
# license
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
# man page
mkdir -p "${pkgdir}/usr/share/man/man1/"
install -Dm644 doc/_build/man/* "${pkgdir}/usr/share/man/man1/"
# html documentation
install -dm755 "${pkgdir}/usr/share/doc/${_pkgname}"
cp -R doc/_build/singlehtml/* "${pkgdir}/usr/share/doc/${_pkgname}"
}
|