summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 30331f04739e451f5dff34d456834e7a14eafbb5 (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
# Maintainer:  <reg-archlinux AT klein DOT tuxli DOT ch> 
# Contributor: ajs124 < aur AT ajs124 DOT de > 
# Contributor: SiD/sidious <miste78@web.de>

pkgname=xtris
pkgver=1.15
pkgrel=6
pkgdesc="Multiplayer Tetris for X"
arch=('i686' 'x86_64' 'aarch64')
url="http://ftp.uni-erlangen.de/mirrors/gentoo/distfiles/"
license=('GPL')
depends=('libx11')
source=("https://github.com/bl00dy1837/xtris/raw/main/xtris-1.15.tar.gz"
	"Makefile.diff")
md5sums=('c63be31895feca9f929b57b67b779ced'
         '4085d4fab44f52fd521818023d36251e')

build() {
	cd "$srcdir/$pkgname"
	patch -p0 < ../Makefile.diff
	make
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir" install
	install -Dm644 "${srcdir}/${pkgname}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}