blob: 9231efeea5503fc2b055d7975490bcc0154cb9cb (
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: willemw <willemw12@gmail.com>
pkgname=better-adb-sync-git
pkgver=r76.2d19f23
pkgrel=1
pkgdesc='Synchronize files between a PC and an Android device using ADB (Android Debug Bridge)'
arch=(any)
url=https://github.com/jb2170/better-adb-sync
license=(Apache)
depends=(android-tools android-udev python-build)
makedepends=(git python-build python-installer python-wheel python-setuptools)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
prepare() {
git -C $pkgname clean -dfx
}
build() {
cd $pkgname
python -m build --wheel --no-isolation
}
package() {
cd $pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
}
|