summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-06 22:06:22 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-06 22:06:22 +0000
commitd2a8114c7f803798fe6a4d8cdcf3b3ef50a3caf3 (patch)
treecf604849cd5ef2adb77eba3046b2fbf5ba2b2f32
parent98bb585e95afb29f02c37601f6e443c1557ec349 (diff)
downloadpackages-d2a8114c7f803798fe6a4d8cdcf3b3ef50a3caf3.tar.gz
packages-d2a8114c7f803798fe6a4d8cdcf3b3ef50a3caf3.tar.bz2
packages-d2a8114c7f803798fe6a4d8cdcf3b3ef50a3caf3.tar.xz
packages-d2a8114c7f803798fe6a4d8cdcf3b3ef50a3caf3.zip
system/libedit: fix versioning
-rw-r--r--system/libedit/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libedit/APKBUILD b/system/libedit/APKBUILD
index 899ee01ab..bd5362f82 100644
--- a/system/libedit/APKBUILD
+++ b/system/libedit/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libedit
-pkgver=3.1_p20180525
+pkgver=20180525.3.1
+_realver=${pkgver/.3.1/-3.1}
pkgrel=0
pkgdesc="Library providing line editing, history, and tokenisation functions"
url="http://thrysoee.dk/editline/"
@@ -10,12 +11,11 @@ license="BSD-2-Clause"
depends=""
depends_dev="ncurses-dev" # XXX is this always unconditionally needed?
makedepends="$depends_dev autoconf automake"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://thrysoee.dk/editline/libedit-20180525-3.1.tar.gz
+source="http://thrysoee.dk/editline/libedit-$_realver.tar.gz
tinfo.patch
"
-builddir="$srcdir/$pkgname-20180525-3.1"
+builddir="$srcdir/$pkgname-$_realver"
prepare() {
cd "$builddir"