From 8a2195dbe6a7a269297b7acda9a20a4d2cd39b33 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 9 May 2021 00:39:00 +0100 Subject: [PATCH] Dev temporary version scheme. --- PKGBUILD | 8 ++++---- debian/changelog | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 006d063f..d85016f5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,17 +2,17 @@ # shellcheck disable=SC2034,SC2154,SC2164 pkgname=apparmor.d -pkgver=21 +pkgver=0.001 pkgrel=1 pkgdesc="Full set of apparmor profiles" arch=("any") -url="https://gitlab.com/archlex/hardening/$pkgname" +url="https://github.com/roddhjav/$pkgname" license=('GPL2') depends=('apparmor') -makedepends=('bc') pkgver() { - echo "$pkgver + 0.01" | bc + cd "$srcdir/$pkgname" + echo "0.$(git rev-list --count HEAD)" } prepare() { diff --git a/debian/changelog b/debian/changelog index 1339aebf..4ba7f268 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -apparmor.d (21.0403-1) stable; urgency=medium +apparmor.d (0.001-1) stable; urgency=medium - * Release 21.0403-1 + * Release 0.001-1 -- Alexandre Pujol Sat, 03 Apr 2021 22:16:22 +0000 \ No newline at end of file