blob: 8f03183171b3a393993f6a9e23766a4302348bd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=wp2git.py-git
pkgver=r56.2c61906
pkgrel=1
pkgdesc="A tool to download and import a Wikipedia page to a Git repository"
arch=('any')
url="https://github.com/simon04/wp2git"
license=('custom')
depends=('python' 'python-mwclient' 'git')
source=(
"$pkgname::git+https://github.com/simon04/wp2git.git"
)
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -Dm755 wp2git.py $pkgdir/usr/bin/wp2git.py
install -D LICENSE $pkgdir/usr/share/licenses/wp2git.py-git/LICENSE
}
|