# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-freeswitch-vmail
pkgver=0.6.2
pkgrel=5
pkgdesc="ACF for a web interface for freeswitch voicemail"
url="https://gitlab.alpinelinux.org/acf/acf-freeswitch-vmail"
arch="noarch"
license="GPL-2.0-only"
options="!check" # no test suite
depends="acf-core lua-sql-sqlite3 lua-socket freeswitch"
install="$pkgname.post-upgrade"
source="$pkgname-$pkgver-2.tar.gz::https://gitlab.alpinelinux.org/acf/acf-freeswitch-vmail/-/archive/v$pkgver/acf-freeswitch-vmail-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
5109b231f9c949b222240b42cee5dd82f9fb3dad2c1bc28443c969179ba420cd0b416e02d83b88d3530a98c0cc18f539a6645b7b5143465470f4b11cb9142efa  acf-freeswitch-vmail-0.6.2-2.tar.gz
"
