summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Gysin2021-10-11 22:52:31 +0300
committerChristoph Gysin2021-10-11 22:52:31 +0300
commit2caa38723d266a75c68a2fa989fffc8bf6daa60d (patch)
tree34874f215769872b5c04a5e35e36bb2aeeabe52f
parent5189dc34753628c45650675a2fc48290784f5a40 (diff)
downloadaur-2caa38723d266a75c68a2fa989fffc8bf6daa60d.tar.gz
Set PBR_VERSION also in build()
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ac5da3aaa54a..8868dbe4cb48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=bashate
pkgver=2.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Code style enforcement for bash programs"
arch=('any')
makedepends=('python-setuptools')
@@ -15,6 +15,7 @@ sha256sums=('a3ece9c844f2f9772ee9311ef692a8b0851135a5d9ca2a99b3fe9815d236ca6b')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ PBR_VERSION=$pkgver \
python setup.py build
}