aur-packages/adb-sync-git/PKGBUILD

28 lines
683 B
Bash
Raw Permalink Normal View History

2019-05-23 20:04:51 -07:00
# Maintainer: Trent
# contributor: Anatol
pkgname=adb-sync-git
2023-01-05 06:45:52 -08:00
pkgver=r36.76b2783
2019-05-23 20:04:51 -07:00
pkgrel=1
pkgdesc='A tool to synchronize files between a PC and an Android device using the ADB'
url='https://github.com/google/adb-sync'
arch=(any)
depends=(python android-tools android-udev)
makedepends=(git)
license=(Apache)
source=(git+https://github.com/google/adb-sync)
sha1sums=('SKIP')
pkgver() {
cd adb-sync
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd adb-sync
install -m755 -d "$pkgdir/usr/bin"
install -m755 -t "$pkgdir/usr/bin" adb-sync adb-channel
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}