summaryrefslogtreecommitdiff
path: root/libre/linux-libre-api-headers
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-10-30 11:59:02 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-10-30 11:59:02 -0500
commit985c55c08ed7aa98723f7b774059e94a8f6e1ab0 (patch)
treef05be3de6b443a03bf3cfc9081d6669480be7830 /libre/linux-libre-api-headers
parent6189198f1123704aeb0a396cf91dce925672ca51 (diff)
downloadabslibre-985c55c08ed7aa98723f7b774059e94a8f6e1ab0.tar.gz
abslibre-985c55c08ed7aa98723f7b774059e94a8f6e1ab0.tar.bz2
abslibre-985c55c08ed7aa98723f7b774059e94a8f6e1ab0.zip
linux-libre-api-headers-4.12.7_gnu-1: udpating version
Diffstat (limited to 'libre/linux-libre-api-headers')
-rw-r--r--libre/linux-libre-api-headers/PKGBUILD43
1 files changed, 20 insertions, 23 deletions
diff --git a/libre/linux-libre-api-headers/PKGBUILD b/libre/linux-libre-api-headers/PKGBUILD
index c045c27ca..1b0e0f3ac 100644
--- a/libre/linux-libre-api-headers/PKGBUILD
+++ b/libre/linux-libre-api-headers/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: André Silva <emulatorman@hyperbola.info>
+# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Based on linux-api-headers package
@@ -6,55 +7,51 @@
# toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc
pkgname=linux-libre-api-headers
-_pkgbasever=4.10-gnu
-_pkgver=4.10.1-gnu
+_pkgbasever=4.12-gnu
+_pkgver=4.12.7-gnu
_srcname=linux-${_pkgbasever%-*}
_archpkgver=${_pkgver%-*}
pkgver=${_pkgver//-/_}
pkgrel=1
-pkgdesc="Kernel headers sanitized for use in userspace"
-arch=('i686' 'x86_64' 'armv7h')
-url="https://www.gnu.org/software/libc"
-license=('GPL2')
+pkgdesc='Kernel headers sanitized for use in userspace'
+arch=(any)
+url='https://www.gnu.org/software/libc'
+license=(GPL2)
provides=("linux-api-headers=${_archpkgver}")
conflicts=('linux-api-headers')
replaces=('linux-api-headers')
-source=("https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz"
- "https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz.sign"
- "https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz"
- "https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz.sign")
-sha512sums=('44d1774a1d43a15322297d351737fbcbf92c6f433266ce2b17587437d433562cf5811fdae48fafd5a8e00d18ed9ac2e1ad4b12a657f322eb234384316ad131e0'
+source=("https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz"{,.sign}
+ "https://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz"{,.sign})
+sha256sums=('aed9811320395f9217af89fafb3e287d339f6eddd3422263ccee68ff9a5c7194'
'SKIP'
- '03669d17c68d1a845db36dcc953fd98450c692d97c4273c91ae17ad5e4ec395834f6320e4862ffe5fff7eecbe2ea5888cbe3c9c9093dd16fad8603db756b8053'
+ 'be18a25fb02b3aaffb7c4d766e60c6d93569deb092e4bf0eaa75cc778adaaf37'
'SKIP')
-validpgpkeys=(
- '474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
-)
+validpgpkeys=('474402C8C582DAFBE389C427BCB7CF877E7D47A7') # Alexandre Oliva
prepare() {
- cd "${srcdir}/${_srcname}"
+ cd ${_srcname}
# add upstream patch
if [ "${_pkgbasever}" != "${_pkgver}" ]; then
- patch -p1 -i "${srcdir}/patch-${_pkgbasever}-${_pkgver}"
+ patch -p1 -i "$srcdir/patch-${_pkgbasever}-${_pkgver}"
fi
}
build() {
- cd "${srcdir}/${_srcname}"
+ cd ${_srcname}
make mrproper
make headers_check
}
package() {
- cd "${srcdir}/${_srcname}"
- make INSTALL_HDR_PATH="${pkgdir}"/usr headers_install
+ cd ${_srcname}
+ make INSTALL_HDR_PATH="$pkgdir"/usr headers_install
# use headers from libdrm
- rm -r "${pkgdir}"/usr/include/drm
+ rm -r "$pkgdir"/usr/include/drm
# clean-up unnecessary files generated during install
- find "${pkgdir}" \( -name .install -o -name ..install.cmd \) -delete
+ find "$pkgdir" \( -name .install -o -name ..install.cmd \) -delete
}