Date: Tuesday, November 29, 2016 @ 17:37:42 Author: spupykin Revision: 197397
archrelease: copy trunk to community-any Added: moinmoin/repos/community-any/PKGBUILD (from rev 197396, moinmoin/trunk/PKGBUILD) moinmoin/repos/community-any/moinmoin.install (from rev 197396, moinmoin/trunk/moinmoin.install) Deleted: moinmoin/repos/community-any/PKGBUILD moinmoin/repos/community-any/moinmoin.install ------------------+ PKGBUILD | 75 ++++++++++++++++++++++++++++------------------------- moinmoin.install | 6 ++-- 2 files changed, 44 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-11-29 17:37:31 UTC (rev 197396) +++ PKGBUILD 2016-11-29 17:37:42 UTC (rev 197397) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Samuel Mathieson <smathie...@gmail.com> - -pkgname=moinmoin -_xpkgname=moin -pkgver=1.9.9 -pkgrel=1 -pkgdesc="A python wiki clone" -arch=(any) -url="http://moinmo.in/" -license=('GPL') -depends=('python2') -conflicts=('moin') -install=moinmoin.install -source=(http://static.moinmo.in/files/moin-$pkgver.tar.gz) -md5sums=('32f02a5d0df06b80d889ca6cdc51593e') - -build() { - cd "$srcdir"/${_xpkgname}-$pkgver - - # python2 fix - for file in $(find . -name '*.py' -print) wiki/server/*; do - sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file - sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file - done - - python2 setup.py build -} - -package() { - cd "$srcdir"/${_xpkgname}-$pkgver - python2 setup.py install --root="$pkgdir" --record=INSTALLED_FILES -} Copied: moinmoin/repos/community-any/PKGBUILD (from rev 197396, moinmoin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-11-29 17:37:42 UTC (rev 197397) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Samuel Mathieson <smathie...@gmail.com> + +pkgname=moinmoin +_xpkgname=moin +pkgver=1.9.9 +pkgrel=2 +pkgdesc="A python wiki clone" +arch=(any) +url="http://moinmo.in/" +license=('GPL') +depends=('python2') +conflicts=('moin') +install=moinmoin.install +validpgpkeys=('6D5BEF9ADD2075805747B70F9F88FB52FAF7B393') +source=("https://static.moinmo.in/files/moin-$pkgver.tar.gz"{,.asc} + "$pkgname.patch::https://bitbucket.org/thomaswaldmann/moin-1.9/commits/561b7a9c2bd91b61d26cd8a5f39aa36bf5c6159e/raw") +sha256sums=('4397d7760b7ae324d7914ffeb1a9eeb15e09933b61468072acd3c3870351efa4' + 'SKIP' + '55abcbe7356390bbc6b8504012365c9f5c50cbb68cd7ec10632945aaaae37438') + +prepare() { + cd "$srcdir"/${_xpkgname}-$pkgver + # python2 fix + for file in $(find . -name '*.py' -print) wiki/server/*; do + sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + patch -p1 -i $srcdir/$pkgname.patch +} + +build() { + cd "$srcdir"/${_xpkgname}-$pkgver + python2 setup.py build +} + +package() { + cd "$srcdir"/${_xpkgname}-$pkgver + python2 setup.py install --root="$pkgdir" --record=INSTALLED_FILES +} Deleted: moinmoin.install =================================================================== --- moinmoin.install 2016-11-29 17:37:31 UTC (rev 197396) +++ moinmoin.install 2016-11-29 17:37:42 UTC (rev 197397) @@ -1,3 +0,0 @@ -post_install() { - echo "Check https://wiki.archlinux.org/index.php/Moinmoin page for instructions" -} Copied: moinmoin/repos/community-any/moinmoin.install (from rev 197396, moinmoin/trunk/moinmoin.install) =================================================================== --- moinmoin.install (rev 0) +++ moinmoin.install 2016-11-29 17:37:42 UTC (rev 197397) @@ -0,0 +1,3 @@ +post_install() { + echo "Check https://wiki.archlinux.org/index.php/Moinmoin page for instructions" +}