mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/linux-tools to 4.5-1
This commit is contained in:
parent
24d4a563a3
commit
997176db9e
1 changed files with 9 additions and 6 deletions
|
@ -16,7 +16,7 @@ pkgname=(
|
|||
'tmon'
|
||||
'usbip'
|
||||
)
|
||||
pkgver=4.4
|
||||
pkgver=4.5
|
||||
pkgrel=1
|
||||
license=('GPL2')
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -51,11 +51,14 @@ md5sums=('SKIP'
|
|||
'a73ea3ea6d9c9ecb1cc910871eead3ff')
|
||||
|
||||
prepare() {
|
||||
local _patch
|
||||
for _patch in patch-$pkgver.? *.patch; do
|
||||
[[ -e "$_patch" ]] || continue
|
||||
msg2 "Applying $_patch"
|
||||
patch -N -p1 -d linux-$pkgver < "$_patch"
|
||||
cd linux-$pkgver
|
||||
# apply patch from the source array (should be a pacman feature)
|
||||
local filename
|
||||
for filename in "${source[@]}"; do
|
||||
if [[ "$filename" =~ \.patch$ ]]; then
|
||||
msg2 "Applying patch $filename"
|
||||
patch -p1 -N -i "$srcdir/$filename"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue