# Maintainer:  John Butera <john@jbutera.net>

pkgname=(man-pages-posix)
_srcver=2013-a
pkgver=2013_a
pkgrel=1
pkgdesc="POSIX Manual Pages"
arch=('any')
license=("custom:posix")
url="https://www.kernel.org/doc/man-pages"
depends=(man)
source=("https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-${_srcver}.tar.xz")
sha256sums=('19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808')

prepare() {
	cd "$srcdir/$pkgname-$_srcver"
}

build() {
	cd "$srcdir/$pkgname-$_srcver"
	make gz
}

package() {
	cd "$srcdir/$pkgname-$_srcver"
	make install DESTDIR=${pkgdir}
}
