mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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'
|
'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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue