Skip to content
Snippets Groups Projects
Unverified Commit 8ed4689a authored by Leo's avatar Leo Committed by TBK
Browse files

community/prosody: modernize

Closes: GH-8045
parent 70729c17
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ url="http://prosody.im/"
arch="all"
license="MIT"
depends="lua${_luaver}-socket lua${_luaver}-expat lua${_luaver}-filesystem
lua${_luaver}-sec lua${_luaver} lua${_luaver}-busted lua${_luaver}"
lua${_luaver}-sec lua${_luaver} lua${_luaver}-busted"
makedepends="linux-headers lua${_luaver}-dev libidn-dev openssl-dev"
checkdepends="lua-busted"
install="prosody.pre-install"
......@@ -21,10 +21,7 @@ source="https://prosody.im/downloads/source/$pkgname-$pkgver.tar.gz
$pkgname.initd
"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc/prosody \
......@@ -41,12 +38,10 @@ build() {
}
check() {
cd "$builddir"
/usr/bin/lua${_luaver} /usr/bin/busted --lua=/usr/bin/lua${_luaver}
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -d -o prosody -g prosody "$pkgdir/var/log/prosody"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment