[arch-commits] Commit in python-adb-shell/repos (community-any community-any/PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Wed Dec 29 00:49:48 UTC 2021


    Date: Wednesday, December 29, 2021 @ 00:49:48
  Author: kpcyrd
Revision: 1086608

archrelease: copy trunk to community-any

Added:
  python-adb-shell/repos/community-any/
  python-adb-shell/repos/community-any/PKGBUILD
    (from rev 1086607, python-adb-shell/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-adb-shell/repos/community-any/PKGBUILD (from rev 1086607, python-adb-shell/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-12-29 00:49:48 UTC (rev 1086608)
@@ -0,0 +1,31 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi.net>
+
+_pyname=adb-shell
+pkgname=python-${_pyname}
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="A Python implementation of ADB with shell and FileSync functionality."
+arch=(any)
+url="https://github.com/JeffLIrion/adb_shell"
+license=('Apache')
+depends=('python' 'python-cryptography' 'python-pyasn1' 'python-rsa')
+makedepends=('python-setuptools')
+optdepends=('python-aiofiles: async API'
+            'python-libusb1: To connect to a device via USB')
+conflicts=('python-adb_shell')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/JeffLIrion/adb_shell/archive/refs/tags/v${pkgver}.tar.gz")
+b2sums=('bf81a14a2df57a2109c61106b4597fd9aefab5639b6eb853f2220f6e81497c34b3dcafc2a3fc6dceb836505a5a4fc6b7a73d8a275a4de5065fac6d5625e69b29')
+
+build() {
+  cd "${_pyname/-/_}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${_pyname/-/_}-${pkgver}"
+  python setup.py install -O1 --root="$pkgdir" --skip-build
+  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list