git » nano.git » main » tree

[main] / PKGBUILD

pkgname=nano
pkgver=7.2
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--enable-color \
		--enable-nanorc \
		--enable-multibuffer
	make

}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -DTm644 "${srcdir}"/${pkgname}-${pkgver}/doc/sample.nanorc "${pkgdir}"/etc/nanorc
}
sha256sums=('86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526')