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