aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prosody/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/prosody/APKBUILD')
-rw-r--r--testing/prosody/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD
index 364e057790..0f7b02bc75 100644
--- a/testing/prosody/APKBUILD
+++ b/testing/prosody/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=prosody
-pkgver=0.4.2
-pkgrel=4
+pkgver=0.8.1
+pkgrel=0
pkgdesc="Lua based Jabber/XMPP server"
url="http://prosody.im/"
arch="all"
@@ -14,14 +14,10 @@ subpackages=""
source="http://prosody.im/downloads/source/$pkgname-$pkgver.tar.gz
$pkgname.cfg.lua
$pkgname.initd
- Makefile-0.4.2.patch
"
build() {
cd "$srcdir/$pkgname-$pkgver"
-
- patch Makefile "$startdir/Makefile-0.4.2.patch" || return 1
-
./configure --prefix=/usr \
--sysconfdir=/etc/prosody \
--with-lua=/usr/bin \
@@ -29,6 +25,10 @@ build() {
--with-lua-include=/usr/include
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -d "$pkgdir/var/log/prosody" || return 1
@@ -38,7 +38,6 @@ build() {
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="2669478311b3a67522669acdf03cf85c prosody-0.4.2.tar.gz
+md5sums="2be3e9deed0b96f109efc5707d7728ba prosody-0.8.1.tar.gz
f42039e5a342fe62cd7e491546338aaa prosody.cfg.lua
-c0e647e872e30f71fa03faab189ae287 prosody.initd
-684d033dac42399a245c061c9a374e1b Makefile-0.4.2.patch"
+c0e647e872e30f71fa03faab189ae287 prosody.initd"