summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 961bea0fecbe9a33eb8c0ab3b942a60bb7d530ec (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
30
# 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=44e5ba79f515b3cd22d96b4e3ab0f74d5361eb79

pkgname=binder_linux-dkms
pkgver=6.8
pkgrel=1
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")
source=(
    "binder_linux-dkms-${pkgver}.tar.gz::https://github.com/choff/anbox-modules/archive/${_commit}.tar.gz"
)
sha256sums=('8cd9b4f010e5e3d1374f6031c8f679a857f4b2db72158dc6e6267fcbbb5dd159')
# prepare(){
#     cd "${srcdir}/anbox-modules"
#     for diff_file in "${srcdir}/"*.diff
#     do
#         git apply "$diff_file"
#     done
# }
package(){
    install -dm755 "${pkgdir}/usr/src/binder-1"
    cp -r "${srcdir}/anbox-modules-${_commit}/binder/"* "${pkgdir}/usr/src/binder-1/"
}