From 0a9830fae2bed21e383307775783ffca6f6aba2c Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 10 Apr 2021 17:17:23 +0100 Subject: [PATCH] New version scheme. --- PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 13cf7fcd..741f8004 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,16 +2,17 @@ # shellcheck disable=SC2034,SC2154,SC2164 pkgname=apparmor.d -pkgver=21.0402 +pkgver=21 pkgrel=1 pkgdesc="Full set of apparmor profiles" arch=("any") url="https://gitlab.com/archlex/hardening/$pkgname" license=('GPL2') depends=('apparmor') +makedepends=('bc') pkgver() { - date +%y.%m%d + echo "$pkgver + .1" | bc } prepare() {