summaryrefslogtreecommitdiff
path: root/libre/xsp
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 02:02:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-21 02:02:40 -0300
commitad8ee0a3286648535e7987cfaa38ecb274a7542f (patch)
tree205917304e472f48b4cadca67069b4172af04175 /libre/xsp
parent5164b3c6512990a6248c33581ad6b0733d3e9551 (diff)
xsp-3.0.11-1: updating version
Diffstat (limited to 'libre/xsp')
-rw-r--r--libre/xsp/PKGBUILD34
1 files changed, 14 insertions, 20 deletions
diff --git a/libre/xsp/PKGBUILD b/libre/xsp/PKGBUILD
index 1692357e7..02e172c8f 100644
--- a/libre/xsp/PKGBUILD
+++ b/libre/xsp/PKGBUILD
@@ -1,19 +1,23 @@
-# $Id$
+# $Id: PKGBUILD 188153 2013-06-10 16:36:32Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=xsp
-pkgver=2.10.2
-pkgrel=4.1
-pkgdesc="A simple webserver based on mono - provides ASP.NET support, Parabola rebranded"
-arch=(i686 x86_64 mips64el)
+pkgver=3.0.11
+pkgrel=1
+pkgdesc="A simple webserver based on mono - provides ASP.NET support (Parabola rebranded)"
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.go-mono.com"
-depends=('mono>=2.10.2' 'sqlite')
+depends=('mono' 'sqlite')
options=(!makeflags)
install=${pkgname}.install
-source=(http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
- ${pkgname}.rc.d ${pkgname}.conf.d ${pkgname}.webapp ${pkgname}.service)
+source=(https://github.com/mono/xsp/archive/${pkgver}.tar.gz
+ ${pkgname}.webapp
+ ${pkgname}.service)
+md5sums=('6a694d5e87ebe57e532ec80a16b6966d'
+ 'c917c07f68b945691506c29750db482f'
+ '9d83bd36d209f8d36a11dfbc4fa50819')
build() {
# get rid of that .wapi errors; thanks to brice
@@ -23,8 +27,9 @@ build() {
# build
cd ${srcdir}/${pkgname}-${pkgver}
#sed -i 's|/bin/sh|\0\nexport MONO_PATH=${MONO_PATH}:/opt/mono/lib/mono/1.0|' scripts/script.in
+ ./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
- make || return 1
+ make
# tweak the xsp shellscript to grab system dll's
for script in scripts/*2; do
sed -i 's|/usr/lib/mono/1.0|/usr/lib/mono/2.0|' $script
@@ -43,12 +48,6 @@ package(){
rm -rf ${pkgdir}/usr/share
chown -R http:http ${pkgdir}/srv/http/html/${pkgname}
- # install a deamon
- install -D -m755 ${srcdir}/${pkgname}.rc.d \
- ${pkgdir}/etc/rc.d/${pkgname}
- # install a deamon configurationfile
- install -D -m644 ${srcdir}/$pkgname.conf.d \
- ${pkgdir}/etc/conf.d/${pkgname}
# install a xsp configuration home
install -D -m644 ${srcdir}/${pkgname}.webapp \
${pkgdir}/etc/${pkgname}/${pkgname}.webapp
@@ -57,8 +56,3 @@ package(){
install -D -m644 ${srcdir}/${pkgname}.service \
${pkgdir}/usr/lib/systemd/system/xsp.service
}
-md5sums=('4fe62fc95ad5dc136d8a7f3299d523b6'
- '9575bd7d6f64d51ba05bdd6370665858'
- 'b2063679d9c77a9e7b2d90d1fee76608'
- 'c917c07f68b945691506c29750db482f'
- '9d83bd36d209f8d36a11dfbc4fa50819')