diff options
author | danieltetraquark | 2021-10-02 14:59:38 +0200 |
---|---|---|
committer | danieltetraquark | 2021-10-02 14:59:38 +0200 |
commit | af67eaf2da723768f94be73fb8b517c28e3f92af (patch) | |
tree | b8c650bd6a19e317b0b115e8d233db8384b58c60 | |
parent | 173b5d43b0d8837a13e2c6e89b2c23f04774fce9 (diff) | |
download | aur-af67eaf2da723768f94be73fb8b517c28e3f92af.tar.gz |
include git as makedepends, change format of version
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -1,14 +1,14 @@ pkgbase = classifier-git pkgdesc = Organize files in your directory instantly, by classifying them into different folders (git-version) - pkgver = 20200206.r129.09e958b + pkgver = r129.09e958b pkgrel = 1 url = https://github.com/bhrigu123/classifier arch = any license = MIT + makedepends = git depends = python depends = python-arrow source = classifier::git+https://github.com/bhrigu123/classifier.git#branch=master sha256sums = SKIP pkgname = classifier-git - @@ -2,21 +2,21 @@ # Contributor: Patrick Wozniak <hello@patwoz.de> pkgname=classifier-git -pkgver=20200206.r129.09e958b +pkgver=r129.09e958b pkgrel=1 url="https://github.com/bhrigu123/classifier" pkgdesc="Organize files in your directory instantly, by classifying them into different folders (git-version)" - +makedepends=('git') arch=("any") license=("MIT") source=("${pkgname%-git}::git+https://github.com/bhrigu123/classifier.git#branch=master") depends=("python" "python-arrow") -sha256sums=("SKIP") +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)" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { |