From 4c60a8cf82100eca74cada93d5f4c6c27560bb2b Mon Sep 17 00:00:00 2001 From: Ella-0 <23418164+Ella-0@users.noreply.github.com> Date: Tue, 1 Jun 2021 09:26:44 +0100 Subject: [PATCH] added man-pages-posix --- pkgs/man-pages-posix/build.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkgs/man-pages-posix/build.sh diff --git a/pkgs/man-pages-posix/build.sh b/pkgs/man-pages-posix/build.sh new file mode 100644 index 0000000..0559329 --- /dev/null +++ b/pkgs/man-pages-posix/build.sh @@ -0,0 +1,22 @@ +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 +}