blob: 83088e9095f0d15e8daa0c35f2a88b3c068100cb (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Philip Goto <philip.goto@gmail.com>
pkgname=xword-dl-git
pkgver=2023.12.2.r25.g3f75dbc
pkgrel=1
pkgdesc='Command-line tool to download .puz files for online crossword puzzles'
arch=(any)
url='https://github.com/thisisparker/xword-dl'
license=(MIT)
depends=(
python
python-beautifulsoup4
python-dateparser
python-emoji
python-html2text
python-puzpy
python-requests
python-unidecode
python-xmltodict
python-yaml
)
makedepends=(
git
python-setuptools
)
provides=(xword-dl)
conflicts=(xword-dl)
source=("git+${url}.git")
b2sums=('SKIP')
pkgver() {
cd xword-dl
git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd xword-dl
python setup.py build
}
package() {
cd xword-dl
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|