Make use of pkgver() in PKGBUILD
This commit is contained in:
parent
b8f053b976
commit
a3db240cc5
@ -1,6 +1,13 @@
|
|||||||
Changelog for packaging-scripts
|
Changelog for packaging-scripts
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
|
Version 1.5.3
|
||||||
|
-------------
|
||||||
|
|
||||||
|
* Project
|
||||||
|
|
||||||
|
* PKGBUILD: make use of pkgver()
|
||||||
|
|
||||||
Version 1.5.2
|
Version 1.5.2
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
@ -21,6 +28,7 @@ Version 1.5
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
* Project
|
* Project
|
||||||
|
|
||||||
* PKGBUILD: build from git repository directly
|
* PKGBUILD: build from git repository directly
|
||||||
|
|
||||||
* Rename pacmanconf module to pacman
|
* Rename pacmanconf module to pacman
|
||||||
@ -33,6 +41,7 @@ Version 1.4
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
* Project
|
* Project
|
||||||
|
|
||||||
* Add CHANGELOG
|
* Add CHANGELOG
|
||||||
|
|
||||||
* Minor code and comment cleanups
|
* Minor code and comment cleanups
|
||||||
|
5
PKGBUILD
5
PKGBUILD
@ -16,6 +16,11 @@ backup=(etc/apparmor.d/usr.bin.{addpkg,delpkg}
|
|||||||
source=("${pkgname}::git+file:///home/etorres/Projects/packaging-scripts")
|
source=("${pkgname}::git+file:///home/etorres/Projects/packaging-scripts")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $srcdir/$pkgname
|
||||||
|
python setup.py --version
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname
|
cd $srcdir/$pkgname
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user