summaryrefslogtreecommitdiff
path: root/libre/linux-libre-manpages/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-manpages/PKGBUILD')
-rw-r--r--libre/linux-libre-manpages/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/libre/linux-libre-manpages/PKGBUILD b/libre/linux-libre-manpages/PKGBUILD
index 088f6c6c1..1a96051e3 100644
--- a/libre/linux-libre-manpages/PKGBUILD
+++ b/libre/linux-libre-manpages/PKGBUILD
@@ -2,11 +2,15 @@
# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
# Maintainer (Arch): Thomas Baechler <thomas@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
pkgname=linux-libre-manpages
-pkgver=3.14
+_pkgver=3.14-gnu
+
+_srcname=linux-${_pkgver%-*}
+pkgver=${_pkgver//-/.}
pkgrel=1
-pkgdesc="Kernel hackers manual - Section 9 manpages that comes with the Linux-libre kernel"
+pkgdesc="Kernel hackers manual - Section 9 manpages that come with the Linux-libre kernel"
arch=('any')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -14,18 +18,16 @@ makedepends=('xmlto' 'docbook-xsl')
replaces=('kernel26-manpages' 'kernel26-libre-manpages' 'linux-manpages')
conflicts=('kernel26-manpages' 'kernel26-libre-manpages' 'linux-manpages')
provides=('kernel26-manpages' 'linux-manpages')
-source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/linux-libre-${pkgver}-gnu.tar.xz")
+source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/linux-libre-${_pkgver}.tar.xz")
sha256sums=('477555c709b9407fe37dbd70d3331ff9dde1f9d874aba2741f138d07ae6f281b')
build() {
- cd "${srcdir}/linux-$pkgver"
+ cd "${srcdir}/${_srcname}"
make mandocs
}
package() {
install -d "${pkgdir}/usr/share/man/man9/"
- install "${srcdir}"/linux-$pkgver/Documentation/DocBook/man/*.9.gz \
+ install -m644 "${srcdir}"/${_srcname}/Documentation/DocBook/man/*.9.gz \
"${pkgdir}/usr/share/man/man9/"
-
- find "${pkgdir}" -type f -exec chmod 644 {} \;
}