diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5540be98fe46 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Alexander Shpilkin <ashpilkin@gmail.com> + +pkgname=python-hattifnatt +pkgver=0.2.1 +pkgrel=1 +pkgdesc="Push directory to Telegram channel" +url="https://github.com/alexshpilkin/hattifnatt" +arch=('any') +license=('custom:CC0') +depends=('python>=3.5' + 'python-pathtools>=0.1.2' + 'python-telegram-bot>=10.0.2' + 'python-watchdog>=0.9.0') +makedepends=('python-setuptools') +source=("https://github.com/alexshpilkin/hattifnatt/releases/download/v$pkgver/hattifnatt-$pkgver.tar.gz" + "https://github.com/alexshpilkin/hattifnatt/releases/download/v$pkgver/hattifnatt-$pkgver.tar.gz.asc") +sha256sums=('4f10ff1f1e29590ce4bc25c7bbeecb5778bf4732118294543f0632cdc9139830' + 'SKIP') +validpgpkeys=('B595D74D6615C010469F5A1373E9AA114B3A894B') + +build() { + cd "hattifnatt-$pkgver" + python setup.py build +} + +package() { + cd "hattifnatt-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |