arch-ppa/src/sendxmpp-py/PKGBUILD

24 lines
960 B
Bash

# 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')
author='moparisthebest'
url="https://github.com/$author/$pkgname"
source=("https://github.com/$author/$pkgname/archive/v$pkgver.tar.gz" "https://github.com/$author/$pkgname/releases/download/v$pkgver/v$pkgver.tar.gz.asc")
validpgpkeys=('81F1C22DD41109D4A9C0A7B5B070F8D97D1A0BBA') # moparisthebest <admin AT moparisthebest.com>
sha256sums=('50fa7fdb38291aa2d49e330f4fb627ae1bb671572fbc1682b8b82593d34c45e2'
'SKIP')
package() {
cd "sendxmpp-py-$pkgver"
install -D -m755 sendxmpp "${pkgdir}"/usr/bin/sendxmpp
install -D -m755 sendxmpp.cfg "${pkgdir}"/etc/sendxmpp/sendxmpp.cfg
}