summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 85936b014ef8d5474279f5d754ed0f64e1da3729 (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
# Maintainer: gee

pkgname=ialauncher-git
pkgver=r45.291048f
pkgrel=1
pkgdesc='Play all of the Internet Archive’s MS-DOS games offline!'
arch=('x86_64')
url='https://github.com/rtts/ialauncher'
license=('GPL3')
depends=('dosbox' 'webkit2gtk' 'python' 'python-natsort' 'gst-plugins-bad'
         'python-jinja')
source=('ialauncher::git+https://github.com/rtts/ialauncher.git')
sha256sums=('SKIP')

pkgver() {
  cd ialauncher

  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd ialauncher

  python setup.py build
}

package() {
  cd ialauncher

  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}