summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/nano/nano.spec21
1 files changed, 21 insertions, 0 deletions
diff --git a/sources/nano/nano.spec b/sources/nano/nano.spec
new file mode 100644
index 0000000..50bbd2e
--- /dev/null
+++ b/sources/nano/nano.spec
@@ -0,0 +1,21 @@
+# Maintainer: Alexander Hill <ahill@breadpudding.dev>
+SRC_HASH="afd287aa672c48b8e1a93fdb6c6588453d527510d966822b687f2835f0d986e9"
+SRC_NAME="nano"
+SRC_URL="https://nano-editor.org/dist/v8/nano-8.7.tar.xz"
+SRC_VERSION="8.7"
+
+build() {
+ tar xf ../$SRC_FILENAME
+ cd nano-*/
+ ./configure $TT_AUTOCONF_COMMON --enable-utf8 --enable-year2038
+ make -O -j $TT_PROCS
+}
+
+clean() {
+ rm -rf nano-*/
+}
+
+package() {
+ cd nano-*/
+ make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
+}