Add license to PKGBUILD and auto-increment version
This commit is contained in:
@@ -2,19 +2,24 @@
|
||||
# Just build via makepkg
|
||||
|
||||
pkgname=rmps
|
||||
pkgver=20180216.0
|
||||
pkgver=20180704.81f454a
|
||||
pkgrel=1
|
||||
pkgdesc='Remote Management and Provisioning System'
|
||||
url='https://git.smirky.net/smirky/rmps.git/'
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('libmariadbclient')
|
||||
validpgpkeys=('8C4D267F4977BFFEF23121E8646F3ABF6E457336')
|
||||
source=("$pkgname::git+https://git.smirky.net/smirky/$pkgname.git")
|
||||
source=("${pkgname}::git+https://git.smirky.net/smirky/${pkgname}.git")
|
||||
sha256sums=('SKIP')
|
||||
license=('GPL2')
|
||||
backup=(
|
||||
etc/rmps/rmps.conf
|
||||
)
|
||||
|
||||
pkgver() {
|
||||
cd "${pkgname}"
|
||||
echo "$(git log -1 --date=short --pretty=format:%cd|tr -d '-').$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
@@ -25,3 +30,4 @@ package() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user