community/linux-tools to 4.5-1

This commit is contained in:
Kevin Mihelich 2016-03-16 01:23:43 +00:00
parent 24d4a563a3
commit 997176db9e

View file

@ -16,7 +16,7 @@ pkgname=(
'tmon' 'tmon'
'usbip' 'usbip'
) )
pkgver=4.4 pkgver=4.5
pkgrel=1 pkgrel=1
license=('GPL2') license=('GPL2')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -51,11 +51,14 @@ md5sums=('SKIP'
'a73ea3ea6d9c9ecb1cc910871eead3ff') 'a73ea3ea6d9c9ecb1cc910871eead3ff')
prepare() { prepare() {
local _patch cd linux-$pkgver
for _patch in patch-$pkgver.? *.patch; do # apply patch from the source array (should be a pacman feature)
[[ -e "$_patch" ]] || continue local filename
msg2 "Applying $_patch" for filename in "${source[@]}"; do
patch -N -p1 -d linux-$pkgver < "$_patch" if [[ "$filename" =~ \.patch$ ]]; then
msg2 "Applying patch $filename"
patch -p1 -N -i "$srcdir/$filename"
fi
done done
} }