summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a886235534a60f063ddfbaf244b38e53c2881de1 (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
# Maintainer: Mikael Blomstrand <gmail: chawlindel>
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: Ng Oon-Ee <ngoonee.talk@gmail.com>

pkgname=adbfs-rootless-git
pkgver=r101.c1a2c9b
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=('fuse' 'android-tools')
conflicts=('adbfs-git')
makedepends=('git')
source=(git+https://github.com/spion/adbfs-rootless)
sha1sums=('SKIP')

pkgver() {
  cd adbfs-rootless
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd adbfs-rootless
  make
}

package() {
  cd adbfs-rootless
  install -Dm755 adbfs "${pkgdir}/usr/bin/adbfs"
  install -Dm644 license "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}