summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6bfbcabd55bd9f1ff1478e7336a6a346ed5545cf (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=2325d6fe45ef64fa94a8a05fcd75fc49e82e9dbb

pkgname=binder_linux-dkms
pkgver=6.0
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.0-fix.diff")
sha256sums=('SKIP'
            'ab4cf84f5091cb4f0cd7521fbff78ec705556ff0a6b07d440b775a14705adec1')
prepare(){
    cd "${srcdir}/anbox-modules"
    git apply "${srcdir}/6.0-fix.diff"
}
package(){
    install -dm755 "${pkgdir}/usr/src/binder-1"
    cp -r "${srcdir}/anbox-modules/binder/"* "${pkgdir}/usr/src/binder-1/"
}