summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 049bc0a01cb4e16b4b2762a46ce10696c570495d (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=5
pkgdesc="Multiplayer Tetris for X"
arch=('i686' 'x86_64' 'aarch64')
url="http://ftp.uni-erlangen.de/mirrors/gentoo/distfiles/"
license=('GPL')
depends=('libx11')
source=("http://ftp.uni-erlangen.de/mirrors/gentoo/distfiles/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"
}