blob: 8ca23c1773347adde240f7591b416798d06271a2 (
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
|
# Maintainer: Agesly Danzig <agesly.danzig@gmail.com>
pkgname=pext
_pkgname=Pext
pkgver=0.35
pkgrel=1
pkgdesc='Python-based extendable tool'
url='https://pext.io/'
arch=(any)
license=(GPL3)
depends=(python-dulwich python-pynput python-pip python-pyqt5 qt5-quickcontrols python-opengl python-opengl-accelerate python-requests python-watchdog python-psutil python-paramiko)
makedepends=(python-setuptools)
optdepends=('pass: password manager support'
'ffmpeg: radiobrowser music support')
provides=(pext)
conflicts=(pext)
source=("https://github.com/Pext/Pext/archive/v$pkgver.tar.gz")
sha256sums=('9a1cbf11cc31248e0e263c6a19a7f01198198d9ab6e2243ad7759f9cfd358605')
prepare() {
sed "s/USE_INTERNAL_UPDATER = .*/USE_INTERNAL_UPDATER = False/" -i ${srcdir}/${_pkgname}-${pkgver}/pext/constants.py
rm ${srcdir}/${_pkgname}-${pkgver}/requirements.txt
touch ${srcdir}/${_pkgname}-${pkgver}/requirements.txt
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python3 setup.py install --optimize=1 --root="${pkgdir}/"
}
# vim:set ts=2 sw=2 et:
|