summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d70eefb2f2589d201992705848c7a62a3841131 (plain)
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
# Maintainer: Sick Codes <info at sick dot codes>
# Maintainer: Christian Hoff <https://github.com/choff>
# Contributor: Tobias Martin <tm-x at gmx dot net>

_commit=cd66055f6d806d7f1534f38ff7142c75f6735e09

pkgname=binder_linux-dkms
pkgver=6.1
pkgrel=2
arch=("x86_64")
url='https://github.com/choff/anbox-modules'
pkgdesc='Android kernel driver fork by @choff in DKMS format, binder only.'
license=("GPL3")
conflicts=("anbox-modules-dkms")
depends=("dkms")
makedepends=("git")
source=(
    "git+${url}.git#commit=${_commit}"
    "6.1-fix.diff")
sha256sums=('SKIP'
            '46331ef50b05db9313c826e5f0d3cf7a65a8f1fc5908bb7cae191cd6ef308b70')
prepare(){
    cd "${srcdir}/anbox-modules"
    git apply "${srcdir}/6.1-fix.diff"
}
package(){
    install -dm755 "${pkgdir}/usr/src/binder-1"
    cp -r "${srcdir}/anbox-modules/binder/"* "${pkgdir}/usr/src/binder-1/"
}