summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ec5d27a9b0f5a87dc837e15c3c336c3e9082283 (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
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
# Contributor: Mopi <mopi@dotslashplay.it>

pkgname=play.it-git
pkgver=2.11.1.r849.g1a4d6b0e
pkgrel=1
pkgdesc="Easy way to install games on Linux - git version"
arch=('any')
url="https://wiki.dotslashplay.it"
license=('BSD')
depends=('bash')
makedepends=('pandoc')
provides=('play.it')
conflicts=('play.it')
optdepends=(
  'imagemagick: to convert images between formats'
  'libarchive: to extract various archive formats'
  'icoutils: to manipulate Windows icon files'
  'innoextract: to extract some Windows installers'
  'unzip: to extract some archives'
)
source=(play.it::"git+https://forge.dotslashplay.it/play.it/scripts.git")
sha1sums=('SKIP')

pkgver() {
  cd play.it
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd play.it
  make
}

package() {
  cd play.it
  make DESTDIR="$pkgdir" prefix="/usr" bindir="/usr/bin" install
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}