diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
3 files changed, 9 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = when-changed-git pkgdesc = Execute a command when a file is changed. - pkgver = 0.r62.7a2df66 + pkgver = 0.3.0.r37.g85d7acc pkgrel = 1 url = https://github.com/joh/when-changed arch = any @@ -8,10 +8,10 @@ pkgbase = when-changed-git makedepends = git depends = python depends = python-watchdog + depends = python-setuptools provides = when-changed conflicts = when-changed source = git+https://github.com/joh/when-changed.git sha256sums = SKIP pkgname = when-changed-git - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..218620e2fb38 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!/PKGBUILD +!/.SRCINFO +!/.gitignore @@ -1,12 +1,12 @@ # Maintainer: rhssk pkgname=when-changed-git -pkgver=0.r62.7a2df66 +pkgver=0.3.0.r37.g85d7acc pkgrel=1 pkgdesc="Execute a command when a file is changed." arch=('any') url="https://github.com/joh/when-changed" license=('BSD') -depends=('python' 'python-watchdog') +depends=('python' 'python-watchdog' 'python-setuptools') makedepends=('git') provides=(when-changed) conflicts=(when-changed) @@ -15,7 +15,7 @@ sha256sums=('SKIP') pkgver() { cd when-changed - echo "0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { |