Add sendxmpp-py

This commit is contained in:
Travis Burtrum 2017-01-10 13:30:19 -05:00
parent 3e55e768e2
commit 69faf30b80
2 changed files with 37 additions and 0 deletions

17
src/sendxmpp-py/.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = sendxmpp-py
pkgdesc = sendxmpp is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl.
pkgver = 1.0
pkgrel = 1
url = https://github.com/moparisthebest/sendxmpp-py
arch = any
license = GPL3
depends = python-dnspython
depends = python-sleekxmpp
depends = python
provides = sendxmpp
conflicts = sendxmpp
source = https://codeload.github.com/moparisthebest/sendxmpp-py/tar.gz/v1.0
sha256sums = 50fa7fdb38291aa2d49e330f4fb627ae1bb671572fbc1682b8b82593d34c45e2
pkgname = sendxmpp-py

20
src/sendxmpp-py/PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
# Contributor: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=sendxmpp-py
pkgver=1.0
pkgrel=1
pkgdesc='sendxmpp is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl.'
arch=('any')
license=('GPL3')
depends=('python-dnspython' 'python-sleekxmpp' 'python')
provides=('sendxmpp')
conflicts=('sendxmpp')
url="https://github.com/moparisthebest/sendxmpp-py"
source=("https://codeload.github.com/moparisthebest/sendxmpp-py/tar.gz/v$pkgver")
sha256sums=('50fa7fdb38291aa2d49e330f4fb627ae1bb671572fbc1682b8b82593d34c45e2')
package() {
cd "sendxmpp-py-$pkgver"
install -D -m755 sendxmpp "${pkgdir}"/usr/bin/sendxmpp
install -D -m755 sendxmpp.cfg "${pkgdir}"/etc/sendxmpp/sendxmpp.cfg
}