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

pkgname=ialauncher-git
pkgver=r127.b93f75d
pkgrel=2
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')
makedepends=('git' 'python-setuptools')
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
}