iglunix/pkgs/man-pages-posix/build.sh

23 lines
383 B
Bash

pkgname=man-pages-posix
pkgver=2017
fetch() {
curl "https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2017-a.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat POSIX-COPYRIGHT
}