-
Notifications
You must be signed in to change notification settings - Fork 11
/
PKGBUILD
36 lines (32 loc) · 806 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pkgname=ALASabreBerry
pkgver=4.4.7
pkgrel=1
pkgdesc="ES9018Q2C Kernel Modules For Raspberry"
arch=('armv6h' 'armv7h')
license=('GPL')
depends=('linux-raspberrypi')
makedepends=('gcc' 'linux-raspberrypi-headers')
source=("git+https://github.com/SatoruKawase/SabreBerry32.git"
"Makefile.archlinux.patch"
)
md5sums=('SKIP'
'd6665658780b0a75aaf2ddc376f81083'
)
prepare() {
cd "${srcdir}/SabreBerry32"
echo $(pwd)
patch -N -i ../Makefile.archlinux.patch
make -f Makefile.archLinux clean
}
build() {
cd "${srcdir}/SabreBerry32"
echo $(pwd)
make -f Makefile.archLinux
make -f Makefile.archLinux dtbs
}
package() {
cd "${srcdir}/SabreBerry32"
echo $(pwd)
make -f Makefile.archLinux DESTDIR=${pkgdir} modules_install
make -f Makefile.archLinux DESTDIR=${pkgdir} install_dtb
}