diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 642af2b..b08f24e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,13 @@ Changelog for packaging-scripts =============================== +Version 1.5.3 +------------- + +* Project + + * PKGBUILD: make use of pkgver() + Version 1.5.2 ------------- @@ -21,6 +28,7 @@ Version 1.5 ----------- * Project + * PKGBUILD: build from git repository directly * Rename pacmanconf module to pacman @@ -33,6 +41,7 @@ Version 1.4 ----------- * Project + * Add CHANGELOG * Minor code and comment cleanups diff --git a/PKGBUILD b/PKGBUILD index 65ff225..0f6ef7f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -16,6 +16,11 @@ backup=(etc/apparmor.d/usr.bin.{addpkg,delpkg} source=("${pkgname}::git+file:///home/etorres/Projects/packaging-scripts") sha256sums=('SKIP') +pkgver() { + cd $srcdir/$pkgname + python setup.py --version +} + build() { cd $srcdir/$pkgname python setup.py build