From 69faf30b80d3d9a1ed1abba88944dfe106befcba Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Tue, 10 Jan 2017 13:30:19 -0500 Subject: [PATCH] Add sendxmpp-py --- src/sendxmpp-py/.SRCINFO | 17 +++++++++++++++++ src/sendxmpp-py/PKGBUILD | 20 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 src/sendxmpp-py/.SRCINFO create mode 100644 src/sendxmpp-py/PKGBUILD diff --git a/src/sendxmpp-py/.SRCINFO b/src/sendxmpp-py/.SRCINFO new file mode 100644 index 0000000..fe3319c --- /dev/null +++ b/src/sendxmpp-py/.SRCINFO @@ -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 + diff --git a/src/sendxmpp-py/PKGBUILD b/src/sendxmpp-py/PKGBUILD new file mode 100644 index 0000000..aa62d75 --- /dev/null +++ b/src/sendxmpp-py/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: moparisthebest + +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 +}