summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPatrick Wozniak2016-02-06 16:30:14 +0100
committerPatrick Wozniak2016-02-06 16:30:14 +0100
commit1903e3353c9a0024dd7cf366874d1c4d35ce2677 (patch)
tree27693b6a40d058e74866082421e4a1cf35d3b108 /PKGBUILD
downloadaur-classifier-git.tar.gz
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..be09f5b8a94
--- /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
+}