blob: c4efdf7ede6613c5dd0029c925cf1508fdb10b2a (
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
|
# 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=(
'python-pygame'
# Not needed?
#'dosbox'
#'gst-plugins-bad'
#'python-jinja'
#'python-natsort'
#'webkit2gtk'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("$_pkgname"::"git+$url")
sha256sums=('SKIP')
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
}
|