summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Torres2024-03-27 11:57:16 +0000
committerRalph Torres2024-03-27 11:57:16 +0000
commit1ff6db4cea2a721738d1b62c2a80688761afbff0 (patch)
tree6fdbdc7aa1e4924571f67aaff800baeb38e2c5d7
parent49feba147952e59ba21e7e6052c0012648cc8757 (diff)
downloadaur-1ff6db4cea2a721738d1b62c2a80688761afbff0.tar.gz
update versioning logic
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4485383f8bd0..549d7a3dc349 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,9 @@ pkgdesc='mount removable devices as normal user'
arch=(i686 x86_64 armv7h)
url=https://salsa.debian.org/debian/pmount
license=(GPL2)
+_pkgvermin=7
+_pkgver=$pkgver-$_pkgvermin
+_pkgname=$pkgname-debian-$_pkgver
provides=($pkgname)
conflicts=($pkgname)
@@ -17,7 +20,7 @@ depends=('sysfsutils>=2.0.0-1' util-linux)
makedepends=('intltool>=0.21')
backup=(etc/pmount.allow)
source=(
- $url/-/archive/debian/$pkgver/$pkgname-debian-$pkgver.tar.gz
+ $url/-/archive/debian/$_pkgver/$_pkgname.tar.gz
0001-fix-debug-segfault.patch
0002-support-exfat.patch
)