aboutsummaryrefslogtreecommitdiffstats
path: root/main/nano/APKBUILD
blob: cf7331120b05ea460e51a0b1024de7c4eff85505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: ms13sp <ms13sp@gmail.com>
# Maintainer: ms13sp <ms13sp@gmail.com>
pkgname=nano
pkgver=2.2.1
pkgrel=0
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=
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 \
		--enable-tiny \
		--disable-nls \
		--disable-speller
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}

md5sums="12eb7808ab1b8df4d20e87df22c38143  nano-2.2.1.tar.gz"