blob: 21cfef42506c7010a7e69dd4f46ff45ca561fcb7 (
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.0.1
pkgrel=1
pkgdesc="Index and find your stuff"
arch=('any')
license=('AGPL')
url='http://github.com/adfinis-sygroup/finja'
depends=('python' 'python-six' 'python-binaryornot')
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=(
'7380d773c85b970fb0bce6a06f7d88a92b3a2191efb3026ec53d379535dc32f1'
'57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6'
)
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
}
|