diff options
author | Patrick Wozniak | 2016-02-06 16:30:14 +0100 |
---|---|---|
committer | Patrick Wozniak | 2016-02-06 16:30:14 +0100 |
commit | 1903e3353c9a0024dd7cf366874d1c4d35ce2677 (patch) | |
tree | 27693b6a40d058e74866082421e4a1cf35d3b108 /PKGBUILD | |
download | aur-1903e3353c9a0024dd7cf366874d1c4d35ce2677.tar.gz |
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..be09f5b8a94a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |