summaryrefslogtreecommitdiff
path: root/pcr/git-remote-mediawiki/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
commitd0f33415f254cb2fee06fd89f9cfed4535322f37 (patch)
tree66c13d72eac4f0110772b4675231c891334137bc /pcr/git-remote-mediawiki/PKGBUILD
parent7e108c74958ec076a3734822f61f145d0d69547f (diff)
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'pcr/git-remote-mediawiki/PKGBUILD')
-rw-r--r--pcr/git-remote-mediawiki/PKGBUILD31
1 files changed, 0 insertions, 31 deletions
diff --git a/pcr/git-remote-mediawiki/PKGBUILD b/pcr/git-remote-mediawiki/PKGBUILD
deleted file mode 100644
index 8fb47724a..000000000
--- a/pcr/git-remote-mediawiki/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-pkgname=git-remote-mediawiki
-url=https://github.com/moy/Git-Mediawiki/wiki
-license=('GPL') # GPLv2+
-pkgdesc="Support for MediaWiki remotes in git"
-
-pkgver=1.8.5.1
-pkgrel=2
-arch=('any')
-depends=(
- git
- perl-datetime-format-iso8601
- perl-html-tree
- perl-lwp-protocol-https
- perl-mediawiki-api
-)
-
-_symlink() {
- local src=$1
- local dst=$2
- mkdir -p "${pkgdir}/${dst%/*}"
- ln -s "$(realpath "$src" --relative-to="${dst%/*}")" "${pkgdir}/${dst}"
-}
-
-package() {
- _mwdir=/usr/share/git/mw-to-git
- _perldir=/usr/share/perl5/vendor_perl
- _gitdir=/usr/lib/git-core
- _symlink ${_mwdir}/Git/Mediawiki.pm ${_perldir}/Git/Mediawiki.pm
- _symlink ${_mwdir}/git-mw.perl ${_gitdir}/git-mw
- _symlink ${_mwdir}/git-remote-mediawiki.perl ${_gitdir}/git-remote-mediawiki
-}