blob: f5c6c9f0f2a0b95caf5c064e10a050dd355dd283 (
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
|
# Maintainer: Abdullah <almutairi.swe@gmail.com>
pkgname='python-relayfsd'
pkgver=1.0.0
pkgrel=1
pkgdesc="A tool that monitors a dir and automatically uploads files to another dir"
arch=('x86_64')
url="https://github.com/Almutairi0/relayfsd"
license=('MIT')
depends=('python' 'python-requests' 'python-watchdog' 'python-paramiko')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=(""git+${url}.git"")
sha256sums=('SKIP')
build() {
cd "${srcdir}/relayfsd"
# ./configure --prefix=/usr
python -m build -nw
}
package() {
cd "${srcdir}/relayfsd"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|