git » sed.git » main » tree

[main] / PKGBUILD

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

build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr
	make
	make html
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -d -m755           "$pkgdir"/usr/share/doc/sed-4.9
	install -m644 doc/sed.html "$pkgdir"/usr/share/doc/sed-4.9
}
sha256sums=('6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181')