summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 876dd21e36e4f2e6099d19ec94bece7e8cd54542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>

pkgname=python-imapnotify
pkgver=0.0.1
pkgrel=1
pkgdesc='Execute scripts on new messages using IDLE imap command (python version)'
arch=('any')
url='https://github.com/a-sk/python-imapnotify'
license=('custom')
depends=('python>=3.5' 'python-pytest-runner>=2.0' 'python-pytest-runner<3' 'python-aioimaplib>=0.5.14' 'python-aioimaplib<1.0.0')
makedepends=('python-setuptools')
source=("https://github.com/a-sk/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('9c99d997667cc8c35acbbe5f3a95d5a9')

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

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}