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

23 lines
383 B
Bash
Raw Normal View History

2021-06-01 08:26:44 +00:00
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
}