summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2496a8429b330019d95062b108d799c9636754f3 (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
# Contributor: alphazo <alphazo@gmail.com>
# Original PKGBUILD generated by pip2arch

pkgname=ntfy
pkgver=2.7.0
pkgrel=2
pkgdesc="A utility for sending push notifications to different backends (Pushover, Pushbullet, XMPP and various desktop notification systems)"
url="https://github.com/dschep/ntfy"
depends=('python' 'python-requests' 'python-yaml' 'python-appdirs' 'xorg-xprop' 'python-ruamel-yaml')
makedepends=('python3' 'python-setuptools')
optdepends=('python-dbus' 'python-emoji' )
license=('GPLv3')
arch=('any')
source=(https://github.com/dschep/ntfy/archive/v$pkgver.tar.gz)
md5sums=('c468c732cac0b4641af93b3ac95c6412')

build() {
    cd "$srcdir/${pkgname}-${pkgver}"
    python setup.py build
}

package() {
    cd "$srcdir/${pkgname}-${pkgver}"
    python setup.py install --root="$pkgdir" --optimize=1 
}