summaryrefslogtreecommitdiff
path: root/pcr-testing/python-mailman-hyperkitty-plugin/PKGBUILD
blob: 24fb78252005e625c1f2c967348003128b87beaf (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
# Maintainer: bill-auger <bill-auger@programmer.net>
# Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info>

pkgname=('python-mailman-hyperkitty-plugin')
pkgver=1.1.0
pkgrel=1
pkgdesc="Hyperkitty archive plugin for mailman"
arch=(any)
url=https://gitlab.com/mailman/mailman-hyperkitty
license=('GPL')
options=(!emptydirs)

makedepends=('python-setuptools')
depends=('mailman-core' 'python-setuptools' 'python-requests')

_upstream_name='mailman-hyperkitty'
_release="${_upstream_name}-v${pkgver}"
source=(https://gitlab.com/mailman/${_upstream_name}/-/archive/v${pkgver}/${_release}.tar.gz)
sha256sums=('b3a32e66961571c3b68f536cf50dbd186620577dd16024e67d299a0857e1d40d')


package()
{
  cd "$srcdir/${_release}"

  python setup.py install --root="${pkgdir}/" --optimize=1
}