summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"