aboutsummaryrefslogblamecommitdiffstats
path: root/main/nano/APKBUILD
blob: ab2a8bfc56e0386b9591bc2a71666a6d15c85e55 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                        
        


                                                                                              
                                         






















                                                                                 
# Contributor: ms13sp <ms13sp@gmail.com>
# Maintainer: ms13sp <ms13sp@gmail.com>
pkgname=nano
pkgver=2.0.9
pkgmaj=2.0
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/"
license="GPL"
depends="ncurses uclibc ncurses-terminfo"
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="http://www.nano-editor.org/dist/v$pkgmaj/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-tiny \
		--disable-nls \
		--disable-speller
	make || return 1
	make DESTDIR="$pkgdir" install

	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="2be94dc43fb60fff4626a2401a977220  nano-2.0.9.tar.gz"