aboutsummaryrefslogtreecommitdiffstats
path: root/main/nano
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-11-28 21:19:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-30 09:57:33 +0000
commit6e11d8bc16264244336887c62525568624e24f3b (patch)
tree292e1d34e0aff6ac11540e4df1e7f67db26508d4 /main/nano
parent910b0c02f95b76d3a2c773e7121280dd0debac62 (diff)
downloadaports-6e11d8bc16264244336887c62525568624e24f3b.tar.bz2
aports-6e11d8bc16264244336887c62525568624e24f3b.tar.xz
main/nano: add sh.nanorc syntax for APKBUILD files
adds colour for editing APKBUILD files
Diffstat (limited to 'main/nano')
-rw-r--r--main/nano/APKBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index f13962022d..5ae9b31cbc 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
@@ -47,6 +47,7 @@ package() {
mkdir -p "$pkgdir"/etc
cp "$srcdir/$pkgname-$pkgver"/doc/nanorc.sample "$pkgdir"/etc/nanorc
sed -i 's:# include:include:g' "$pkgdir"/etc/nanorc
+ sed -i "/syntax/s/\"$/\" \"APKBUILD&/" "$pkgdir"/usr/share/nano/sh.nanorc
}
md5sums="0acc0ca68eee68ef38f899532a4873c6 nano-2.4.3.tar.gz"