summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorMatt Housh <jaeger@morpheus.net>2012-09-19 08:01:54 -0500
committerMatt Housh <jaeger@morpheus.net>2012-09-19 08:01:54 -0500
commita5cbbd1bf090bf97bc2442befc0f6de71cadd3b0 (patch)
tree374d3cb944decf6a6dee2bcfbe4cdf2b1e74f15c /readline
parent67c128ba8220b066865f21263dbc0341ceb4df92 (diff)
downloadcore-a5cbbd1bf090bf97bc2442befc0f6de71cadd3b0.tar.gz
core-a5cbbd1bf090bf97bc2442befc0f6de71cadd3b0.tar.xz
readline: Pkgfile tweak for zsh compatibility
Diffstat (limited to 'readline')
-rw-r--r--readline/Pkgfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/readline/Pkgfile b/readline/Pkgfile
index 16f92703..1edf35f0 100644
--- a/readline/Pkgfile
+++ b/readline/Pkgfile
@@ -6,11 +6,11 @@
name=readline
version=6.2.4
release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-${version::3}.tar.gz \
+source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
$name-$version.patch.gz inputrc)
build() {
- cd $name-${version::3}
+ cd $name-${version:0:3}
gunzip -c $SRC/$name-$version.patch.gz | patch -p0
@@ -23,8 +23,8 @@ build() {
install -d $PKG/lib
mv $PKG/usr/lib/lib*.so.* $PKG/lib
- ln -sf ../../lib/libhistory.so.${version::3} $PKG/usr/lib/libhistory.so
- ln -sf ../../lib/libreadline.so.${version::3} $PKG/usr/lib/libreadline.so
+ ln -sf ../../lib/libhistory.so.${version:0:3} $PKG/usr/lib/libhistory.so
+ ln -sf ../../lib/libreadline.so.${version:0:3} $PKG/usr/lib/libreadline.so
install -D -m 644 $SRC/inputrc $PKG/etc/inputrc
rm -r $PKG/usr/share/info

Generated by cgit