summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee59bb8949a1451790e7faae7f23bd0e3ae5dc39 (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
# Maintainer: Mopi <mopi@dotslashplay.it>
pkgname=play.it
pkgver=2.11.1
pkgrel=2
pkgdesc="Easy way to install games on Linux"
arch=('i686' 'x86_64')
url="https://wiki.dotslashplay.it"
license=('BSD 2')
depends=()
optdepends=(
  'imagemagick'
 	'libarchive'
	'icoutils'
	'innoextract'
	'unzip'
)
source=("${pkgname}-${pkgver}.tar.gz::https://framagit.org/vv221/play.it/-/archive/${pkgver}/play.it-${pkgver}.tar.gz")
sha1sums=('b765d773dfc72d0e15b6d451cb6698241d7e1928')

build() {
  cd "$srcdir/$pkgname-$pkgver"
	make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  mkdir -p $pkgdir/usr/local/bin
  cp -a play.it $pkgdir/usr/local/bin
  mkdir -p $pkgdir/usr/local/share/games/play.it
  cp -a play.it-2/lib/libplayit2.sh play.it-2/games/* $pkgdir/usr/local/share/games/play.it
  mkdir -p "$pkgdir/usr/local/man/man6"

}