blob: 5034615aa6d2a5dabd2d2e63bf2826b4f53a7a6d (
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
|
# Maintainer: David Vogt <dave at winged dot ch>
# This PKGBUILD is maintained at https://github.com/winged/aur-packages
pkgname=finja
pkgver=1.1.1
pkgrel=2
pkgdesc="Index and find your stuff"
arch=('any')
license=('AGPL')
url='http://github.com/adfinis-sygroup/finja'
depends=('python' 'python-six' 'python-binaryornot' 'python-chardet' 'sqlite3' 'python-termcolor')
makedepends=()
provides=('finja')
conflicts=('finja-git')
license=('AGPL3')
arch=('any')
source=(
"https://pypi.python.org/packages/source/f/finja/finja-${pkgver}.tar.gz"
"LICENSE::https://www.gnu.org/licenses/agpl.txt"
)
sha256sums=(
'c2a28bff364dac07dc34929af6ca46d6f09ba38e5469b19c9629ba174620b790'
'0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0'
)
if [ -n "$VIRTUAL_ENV" ]; then
echo "Warning: You're building within a virtualenv. Use"
echo "a shell without virtualenv to build this package!"
exit 1
fi
build() {
cd $srcdir/finja-${pkgver}
python setup.py build
}
package() {
cd $srcdir/finja-${pkgver}
python setup.py install --root="$pkgdir" --optimize=1
}
|