summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee4816effe3b6f64490698f5b6df28e846f175c8 (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
31
# Maintainer: Jameson Pugh <imntreal@gmail.com>

pkgbase=python-pushover
pkgname=('python-pushover' 'python2-pushover')
pkgver=0.4
pkgrel=1
pkgdesc="Python library for Pushover notification service."
arch=('any')
url='http://pythonhosted.org/python-pushover/'
license=('GPL')
makedepends=('python-distribute' 'python2-distribute')
source=("https://github.com/Thibauth/python-pushover/archive/v${pkgver}.tar.gz")
sha256sums=('455ad02b20ce6c34b6857a2c2ad9fa9ca27a698fc76793a68e76213633bcb5b8')

package_python-pushover() {
  depends=('python-requests')
  pkgdesc="Python library for Pushover notification service. (python3 version)"

  cd "${srcdir}/${pkgbase}-${pkgver}"
  python setup.py install --root=${pkgdir} 
}

package_python2-pushover() {
  depends=('python2-requests')
  pkgdesc="Python library for Pushover notification service. (python2 version)"

  cd "${srcdir}/${pkgbase}-${pkgver}"
  python2 setup.py install --root=${pkgdir} 
}

# vim:set ts=2 sw=2 et: