summaryrefslogtreecommitdiffstats
path: root/main/nano/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-08-05 14:52:36 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-08-05 14:52:36 -0500
commitd1507046301cc9396fb16a4fd070a155e6a4408d (patch)
tree43a8e43950ff3a9bea5f453c76fdd96b1856f82d /main/nano/APKBUILD
parent2fc867023b49de8a6cd76440eb5d9cc33dcaf9a7 (diff)
downloadaports-d1507046301cc9396fb16a4fd070a155e6a4408d.tar.bz2
aports-d1507046301cc9396fb16a4fd070a155e6a4408d.tar.xz
main/nano: enable syntax highlighting features
Diffstat (limited to 'main/nano/APKBUILD')
-rw-r--r--main/nano/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index af403ba1c..899d07cc1 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
pkgname=nano
pkgver=2.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="Text Editor. GNU nano is designed to be a free replacement for the Pico text editor."
url="http://www.nano-editor.org/"
arch="all"
@@ -28,6 +28,10 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+
+ mkdir -p "$pkgdir"/etc
+ cp "$srcdir/$pkgname-$pkgver"/doc/nanorc.sample "$pkgdir"/etc/nanorc
+ sed -i 's:# include:include:g' "$pkgdir"/etc/nanorc
}
md5sums="af09f8828744b0ea0808d6c19a2b4bfd nano-2.3.1.tar.gz"