diff options
Diffstat (limited to 'main/nano/APKBUILD')
-rw-r--r-- | main/nano/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD new file mode 100644 index 0000000000..b90a26bc42 --- /dev/null +++ b/main/nano/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Michael Mason <ms13sp@gmail.com> +pkgname=nano +pkgver=2.2.6 +pkgrel=1 +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" +license="GPL" +depends= +makedepends="ncurses-dev" +install= +subpackages="$pkgname-doc" +source="http://www.nano-editor.org/dist/v${pkgver%.*}/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls \ + --disable-speller + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +md5sums="03233ae480689a008eb98feb1b599807 nano-2.2.6.tar.gz" |