upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-simplemediawiki / trunk / PKGBUILD
blob59bb07765149bda5754c2a0eb52a6a3c13c79023
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Jakub Klinkovský <j.l.k@gmx.com>
4 pkgname=python-simplemediawiki
5 pkgdesc="Extremely low-level wrapper to the MediaWiki API"
6 pkgver=1.2.0_b2
7 pkgrel=9
8 arch=('any')
9 url="https://github.com/ianweller/python-simplemediawiki"
10 license=('LGPL')
11 depends=('python')
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/ianweller/python-simplemediawiki/archive/${pkgver/_/}.tar.gz")
13 sha256sums=('417d17d65c7f6b94519a4f6b7fc2ec7cee2b5ee7a0515e19b3e4bf30c55904a8')
15 package() {
16   cd "python-simplemediawiki-${pkgver/_/}"
17   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
18   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"