summaryrefslogtreecommitdiff
path: root/libre/linux-libre-manpages
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-23 01:36:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-23 01:36:15 -0300
commit28529fefc594bf968ca30905a5a2d6c9ae1d6f3c (patch)
tree4c2428f259eb8d14153d27c38659293f4a970f03 /libre/linux-libre-manpages
parentb1852341008bbce6f23ebc4c300112d98c96ab8d (diff)
downloadabslibre-28529fefc594bf968ca30905a5a2d6c9ae1d6f3c.tar.gz
abslibre-28529fefc594bf968ca30905a5a2d6c9ae1d6f3c.tar.bz2
abslibre-28529fefc594bf968ca30905a5a2d6c9ae1d6f3c.zip
add modifications from coadde and lukeshu contributions for linux-libre* and dependencies
Diffstat (limited to 'libre/linux-libre-manpages')
-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 {} \;
}