From 28529fefc594bf968ca30905a5a2d6c9ae1d6f3c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 23 Aug 2014 01:36:15 -0300 Subject: add modifications from coadde and lukeshu contributions for linux-libre* and dependencies --- libre/linux-libre-manpages/PKGBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'libre/linux-libre-manpages') 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 # Maintainer (Arch): Thomas Baechler # Maintainer: André Silva +# Contributor: Luke Shumaker 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 {} \; } -- cgit v1.2.3