blob: be09f5b8a94a5745e5ec8915c8e3832c7d0e46ea (
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
|
# Maintainer: Patrick Wozniak <hello@patwoz.de>
pkgname=classifier-git
pkgver=20160206.r74.d13d6c2
pkgrel=1
pkgdesc="Organize files in your directory instantly, by classifying them into different folders (git-version)"
arch=('any')
url="https://github.com/bhrigu123/classifier"
license=('MIT')
depends=(
'python'
)
optdepends=(
)
makedepends=(
)
conflicts=(
)
backup=(
)
source=(
"${pkgname%-git}::git+${url}.git#branch=master"
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "${pkgname%-git}"
printf "%s.r%s.%s" "$(date +%Y%m%d)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${pkgname%-git}"
python setup.py install --root="$pkgdir/" --optimize=1
}
|