initial import
This commit is contained in:
24
pyzor/PKGBUILD
Normal file
24
pyzor/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=pyzor
|
||||
pkgver=1.0.0
|
||||
_taggedver=1-0-0
|
||||
pkgrel=1
|
||||
pkgdesc="Detect and block spam using identifying digests of messages."
|
||||
arch=('any')
|
||||
url='https://github.com/SpamExperts/pyzor'
|
||||
license=('GPL-2')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/SpamExperts/pyzor/archive/refs/tags/release-${_taggedver}.tar.gz")
|
||||
sha512sums=('b3fb8b2c5261e187a2ab3a5a3b12d221df7de08766c6bb2ad9990c0f23517534871ecc9d5ad529e79b0d0aef8b2b800728320c57435a8c0d8c3f80a4ba0f7e4a')
|
||||
|
||||
prepare() {
|
||||
mv "${pkgname}-release-${_taggedver}" "${pkgname}-${pkgver}"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user