summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorideal2018-12-19 22:32:57 +0800
committerideal2018-12-19 22:32:57 +0800
commit9acbe8a9956b2863def43fa6cd349ae8f1b9e836 (patch)
tree3a35bf396cf6dfc45a9f5df9d0e43453d376e4ff /PKGBUILD
parentb580cf043e33c5d00eb2bf7270af021bb02afb14 (diff)
downloadaur-9acbe8a9956b2863def43fa6cd349ae8f1b9e836.tar.gz
update version; change variable name
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 03733e3ab50..4b4820fe890 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=dhex
pkgname=dhex-git
-pkgver=r3.4cbe567
+pkgver=r4.dde4756
pkgrel=1
pkgdesc="An ncurses-based hexeditor with a diff mode"
arch=('x86_64')
@@ -13,20 +13,20 @@ conflictc=('dhex')
source=("git+https://github.com/ideal/dhex.git")
md5sums=('SKIP')
-dirname=dhex
+_pkgname=dhex
pkgver() {
- cd "${srcdir}/${dirname}"
+ cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "${srcdir}/${dirname}"
+ cd "${srcdir}/${_pkgname}"
make
}
package() {
- cd "${srcdir}/${dirname}"
+ cd "${srcdir}/${_pkgname}"
install -d "${pkgdir}"/usr/{bin,share}
install -d "${pkgdir}"/usr/man/man{1,5}
make DESTDIR="${pkgdir}/usr" install