blob: 5ec930922f3b7c95b544d798128c6bd5eaeb0226 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer:
# Contributor: gee
_pkgname="ialauncher"
pkgname="$_pkgname-git"
pkgver=r127.b93f75d
pkgrel=1
pkgdesc='Play all of the Internet Archive’s MS-DOS games offline'
arch=('any')
url='https://github.com/rtts/ialauncher'
license=('GPL3')
depends=(
'dosbox'
'python-pygame'
'python-pyxdg'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
options=(!strip)
source=(
"$_pkgname"::"git+$url"
"ialauncher-19-xdg-cache.patch"::"https://github.com/rtts/ialauncher/pull/19.patch"
)
sha256sums=(
'SKIP'
'6def4ff58722dc5efbbd93c19837bb80774bb2d979a69567279273a4e0a4dc5b'
)
prepare() {
cd "$srcdir/$_pkgname"
for patch in "$srcdir"/*.patch ; do
if [ -f "$patch" ] ; then
echo "Applying patch: ${patch##*/}"
patch -Np1 -F100 -i "$patch"
fi
done
}
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
python -m build --no-isolation --wheel
}
package() {
cd ialauncher
python -m installer --destdir="$pkgdir" dist/*.whl
}
|