mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
886 B
Bash
27 lines
886 B
Bash
|
# $Id: PKGBUILD 1570 2009-08-25 21:33:40Z spupykin $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=mediawiki
|
||
|
pkgver=1.15.1
|
||
|
pkgrel=2
|
||
|
pkgdesc="MediaWiki engine"
|
||
|
arch=('any')
|
||
|
url="http://www.mediawiki.org/wiki/MediaWiki"
|
||
|
license=("GPL")
|
||
|
depends=(php)
|
||
|
optdepends=('texvc: for math rendering')
|
||
|
backup=(srv/http/mediawiki/.htaccess)
|
||
|
install=mediawiki.install
|
||
|
source=(http://download.wikimedia.org/mediawiki/1.15/mediawiki-$pkgver.tar.gz)
|
||
|
md5sums=('834cef60ef3fd47162420fa25abf2dff')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src
|
||
|
install -d -m0755 $startdir/pkg/srv/http && \
|
||
|
mv $pkgname-$pkgver $startdir/pkg/srv/http/mediawiki && \
|
||
|
ln -s /usr/bin/texvc $startdir/pkg/srv/http/mediawiki/math/texvc && \
|
||
|
chmod 0777 $startdir/pkg/srv/http/mediawiki/images && \
|
||
|
echo "deny from all" >> $pkgdir/srv/http/mediawiki/.htaccess
|
||
|
}
|