summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGenerator2016-03-03 22:55:53 +0000
committerGenerator2016-03-03 23:10:26 +0000
commit52bf6edf4e3f52eef41ac7109ceabbcf27d73e88 (patch)
treef8f96c0f75a2be2db242da5e28f2b922cb3a7801
parentb9a903aa790a55e7c23fc40d77b4bc26b31f6e09 (diff)
downloadaur-52bf6edf4e3f52eef41ac7109ceabbcf27d73e88.tar.gz
simple way to install to nanorc
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--nano-syntax-highlighting.install4
3 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e61dbed5914d..c3c96846866d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Thu Mar 3 22:57:10 UTC 2016
pkgbase = nano-syntax-highlighting-git
pkgdesc = Nano editor syntax highlighting enhancements
- pkgver = 115.7a6608a
- pkgrel = 2
+ pkgver = 196.8b06671
+ pkgrel = 1
url = https://github.com/scopatz/nanorc
install = nano-syntax-highlighting.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index c53b7fc9a0bb..d11e9b0afe33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_pkgname=nano-syntax-highlighting
pkgname=$_pkgname-git
-pkgver=115.7a6608a
-pkgrel=2
+pkgver=196.8b06671
+pkgrel=1
pkgdesc="Nano editor syntax highlighting enhancements"
arch=('any')
depends=('nano')
diff --git a/nano-syntax-highlighting.install b/nano-syntax-highlighting.install
index 81f4667da0ba..f24027692e69 100644
--- a/nano-syntax-highlighting.install
+++ b/nano-syntax-highlighting.install
@@ -4,9 +4,9 @@ post_install() {
==> IMPORTANT!!!
==> To prevent overwriting your existing configuration, nanorc
==> was installed to /usr/share/nano-syntax-highlighting/nanorc.sample
-==>
+==>
==> To install you should add the languages you want to your nano configuration file /etc/nanorc or ~/.nanorc
-==> $ cat /usr/share/nano-syntax-highlighting/nanorc.sample | xargs -0 echo >> ~/.nanorc
+==> $ echo "include /usr/share/nano-syntax-highlighting/*.nanorc" >> nanorc
_EOF
}