diff options
Diffstat (limited to 'libre/xsp/PKGBUILD')
-rw-r--r-- | libre/xsp/PKGBUILD | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/libre/xsp/PKGBUILD b/libre/xsp/PKGBUILD deleted file mode 100644 index ef6fe97c2..000000000 --- a/libre/xsp/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# $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=3.0.11 -pkgrel=1.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' 'sqlite') -options=(!makeflags) -install=${pkgname}.install -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 - export MONO_SHARED_DIR=${srcdir}/src/weird - mkdir -p "${MONO_SHARED_DIR}" - # import pathes - # 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 - # 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 - done - #destdir related bugfixes - sed -i 's|mkdir \$(datadir)|mkdir $(DESTDIR)$(datadir)|' test/2.0/treeview/Makefile - sed -i 's|gif \$(datadir)|gif $(DESTDIR)$(datadir)|' test/2.0/treeview/Makefile -} - -package(){ - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir}/ install - # move test files from share to arch' default html home - mkdir -p ${pkgdir}/srv/http/html - mv ${pkgdir}/usr/lib/xsp/test ${pkgdir}/srv/http/html/xsp - rm -rf ${pkgdir}/usr/share - chown -R http:http ${pkgdir}/srv/http/html/${pkgname} - - # install a xsp configuration home - install -D -m644 ${srcdir}/${pkgname}.webapp \ - ${pkgdir}/etc/${pkgname}/${pkgname}.webapp - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING - # install systemd service file - install -D -m644 ${srcdir}/${pkgname}.service \ - ${pkgdir}/usr/lib/systemd/system/xsp.service -} |