1 # Maintainer : Daniel Neve the.mephit@googlemail.com
2 pkgname=confirmaccount-mediawiki-ext
5 pkgdesc="A MediaWiki Extension for restricting new user accounts"
7 url="http://www.mediawiki.org/wiki/Extension:ConfirmAccount"
10 md5sums=('3bd7e259593b3e5a7b07f1798fbdb13f')
11 install=confirmaccount.install
12 source=(http://upload.wikimedia.org/ext-dist/ConfirmAccount-MW1.16-r62787.tar.gz)
16 install -d -m0755 $pkgdir/srv/http/mediawiki/extensions || return 1
17 mv ConfirmAccount $pkgdir/srv/http/mediawiki/extensions || return 1
20 chmod -R 0644 $pkgdir/srv/http/mediawiki/extensions/ConfirmAccount || return 1
22 # Re-add x bit to folders
23 chmod -R 0744 $pkgdir/srv/http/mediawiki/extensions/ConfirmAccount || return 1
24 chmod 0744 $pkgdir/srv/http/mediawiki/extensions/ConfirmAccount/archives || return 1
25 chmod 0744 $pkgdir/srv/http/mediawiki/extensions/ConfirmAccount/postgres || return 1
27 # Set it to be owned by the web user
28 chown -R http: $pkgdir/srv/http/mediawiki/extensions/ConfirmAccount || return 1