summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a98776e9081..e3e450c10dd6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = tapecalc
pkgdesc = Fixed-point calculator as a fullscreen editor. You may edit at any position in the expression list. Supports basic arithmetic, interest and sales tax computation. Designed for use as a checkbook or expense-account balancing tool. Formerly known as 'add'.
- pkgver = t20180401
- pkgrel = 3
+ pkgver = 20180401
+ pkgrel = 1
+ epoch = 1
url = http://invisible-island.net/add/add.html
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e423bb79e1a3..0cf23cf5f1f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,9 @@
_pkgname=tapecalc
pkgname="${_pkgname}"
-pkgver=t20180401
-pkgrel=3
+epoch=1
+pkgver=20180401
+pkgrel=1
pkgdesc="Fixed-point calculator as a fullscreen editor. You may edit at any position in the expression list. Supports basic arithmetic, interest and sales tax computation. Designed for use as a checkbook or expense-account balancing tool. Formerly known as 'add'."
url="http://invisible-island.net/add/add.html"
@@ -69,7 +70,7 @@ pkgver() {
# Or we can extract it from the makefile.in, which is consistent with what would end up in the executable:
cd "$(_latestdir "${srcdir}")"
- grep -E '^[[:space:]]*RELEASE[[:space:]]*=.*[0-9]+' makefile.in | cut -d= -f2 | tr -d '[[:space:]]'
+ grep -E '^[[:space:]]*RELEASE[[:space:]]*=.*[0-9]+' makefile.in | cut -d= -f2 | tr -d '[[:space:]]' | sed -E 's|^t||'
}