blob: 76789985cf21da041e5a99abd6c0d3a5f0d63c95 (
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
31
32
33
34
|
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contribotur: Ng Oon-Ee <ngoonee.talk@gmail.com>
pkgname=adbfs-rootless-git
pkgver=r81.b589634
pkgrel=1
pkgdesc='fuse filesystem over adb tool for android devices, no device root required'
arch=(i686 x86_64)
url='https://github.com/spion/adbfs-rootless'
license=(BSD)
depends=(gcc-libs fuse)
makedepends=(git)
source=(git+https://github.com/spion/adbfs-rootless
https://patch-diff.githubusercontent.com/raw/spion/adbfs-rootless/pull/21.patch)
sha1sums=('SKIP'
'ae9f468d95fa7d1efad2bdafd6fbf93aa7882ea8')
pkgver() {
cd adbfs-rootless
echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd adbfs-rootless
# Uncomment the line below if you use Nougat
#patch -p1 < ${srcdir}/21.patch
make
}
package() {
cd adbfs-rootless
install -Dm755 adbfs "$pkgdir/usr/bin/adbfs"
install -Dm644 license "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|