summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 60fe4ac28668..d0c28fa52738 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,9 @@
pkgbase = libarchive-qt-git
pkgdesc = A Qt based archiving solution with libarchive backend.
- pkgver = v1.1.1.r0.b653d20
+ pkgver = 1.1.1.r0.b653d20
pkgrel = 1
url = https://gitlab.com/marcusbritanicus/libarchive-qt
- arch = i686
- arch = x86_64
+ arch = any
groups = coreapps-git
license = LGPL-3.0
makedepends = git
diff --git a/PKGBUILD b/PKGBUILD
index f30c76ce0f75..822b5e2e77ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
_pkgname=libarchive-qt
pkgname=${_pkgname}-git
-pkgver=v1.1.1.r0.b653d20
+pkgver=1.1.1.r0.b653d20
pkgrel=1
pkgdesc="A Qt based archiving solution with libarchive backend."
-arch=('i686' 'x86_64')
+arch=('any')
url="https://gitlab.com/marcusbritanicus/libarchive-qt"
license=('LGPL-3.0')
depends=('libarchive' 'qt5-base' 'zlib' 'bzip2' 'xz')
@@ -16,7 +16,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
- printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+ printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {