# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=purple-xmpp-http-upload
pkgver=0.2.4
pkgrel=1
pkgdesc="XMPP HTTP File Upload plugin for libpurple"
arch="all"
url="https://github.com/Junker/purple-xmpp-http-upload"
license="GPL-3.0-or-later"
makedepends="
	mxml-dev
	pidgin-dev
	purple-xmpp
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/Junker/purple-xmpp-http-upload/archive/$pkgver.tar.gz"
options="!check"  # no tests

build() {
	make
}

package() {
	DESTDIR=$pkgdir PREFIX=/usr make install
}

sha512sums="
d752e8e590216f439d021377f05ed4854325e825d01f0c1bede879af87af01605bd8fe1e2bb05e8671a3eff9a4193fd6b0436d7680f6deacec211016fe8ae3c1  purple-xmpp-http-upload-0.2.4.tar.gz
"
