summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorErik Wolf2022-04-07 10:02:21 +0200
committerErik Wolf2022-04-07 10:02:21 +0200
commitc74fbe1c5de618f28a4f0b170119d803b1322c63 (patch)
tree3ef6512cb718fbc173ff47aff1d1c7156511a1f9 /PKGBUILD
parenta35b7608f21a5ad57afddfcfd9c8a45b710259a8 (diff)
downloadaur-c74fbe1c5de618f28a4f0b170119d803b1322c63.tar.gz
Fix PKGBUILD
Add provides and conflicts for `hexcurse`. Remove unused arch i686.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4a1c27255cf6..eec9dc15dd7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,14 @@
pkgname=hexcurse-git
pkgver=v1.60.0.r6.ga7d60e8
-pkgrel=2
+pkgrel=3
pkgdesc="Versatile ncurses-based hex editor."
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="https://github.com/LonnyGomes/hexcurse"
license=('GPL')
depends=('ncurses')
+provides=('hexcurse')
+conflicts=('hexcurse')
options=('!makeflags')
source=("git+https://github.com/LonnyGomes/hexcurse"
"https://github.com/gentoo/gentoo/raw/d6f5624d344f8d50aa7ca7a852fb0f935938e09a/app-editors/hexcurse/files/hexcurse-1.60.0-Werror.patch"
@@ -20,7 +22,7 @@ md5sums=('SKIP'
'7db1bd4770c0f4350f5ae80991421b50'
'1f67d69aa4b0944477c5ad174af96f8d')
-function pkgver() {
+pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}