mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-07 14:52:31 +02:00
34 lines
993 B
Plaintext
34 lines
993 B
Plaintext
# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
|
|
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
|
|
pkgname=dcnnt
|
|
pkgver=0.9.1
|
|
pkgrel=0
|
|
pkgdesc="UI-less tool to connect Android phone with desktop"
|
|
url="https://github.com/cyanomiko/dcnnt-py"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-pycryptodome"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
subpackages="$pkgname-pyc $pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/cyanomiko/dcnnt-py/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-py-$pkgver"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
|
|
install -Dm644 doc/*.md -t "$pkgdir"/usr/share/doc/$pkgname
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
21b6f84b6e5ba6263fda1bd01f024f4a6dd804701c31adee671f0bade801d631e32f6c91b58527fc286a950326070c0c0c600430527928a00f83bc96ffba2fe7 dcnnt-0.9.1.tar.gz
|
|
"
|