# Maintainer: Mopi # Contributor: Emmanuel Gil Peyrot pkgname=play.it pkgver=2.13.0 pkgrel=2 pkgdesc="Easy way to install games on Linux" arch=('any') url="https://www.dotslashplay.it" license=('BSD') depends=('bash') makedepends=('pandoc') 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=("${pkgname}-${pkgver}.tar.gz::https://forge.dotslashplay.it/play.it/scripts/-/archive/${pkgver}/scripts-${pkgver}.tar.gz") sha256sums=('5edaa5b5334d9dfde5d0c614603a838f67072e681f7765d27c6543d30bef93f5') build() { cd scripts-$pkgver make } package() { cd scripts-$pkgver make DESTDIR="$pkgdir"/ prefix=/usr bindir=/usr/bin datadir=/usr/share install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }