blob: e615cf30cbb3557967651eebb60a13e0c94c8cd1 (
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
|
# Maintainer: Kristian Gunstone <kristian.gunstone.butnotthispart@pean.northis.org>
pkgname=netris-git
pkgver=0.52 # Is automatically updated by pkgver() below
pkgrel=1
pkgdesc="Mark H. Weaver's Netris -- A free networked version of T*tris. This is my (the AUR package maintainer) fork, which itself is based on Nathan Aclander's fork."
arch=('i686' 'x86_64')
url="https://github.com/naclander/netris.git"
license=('GPL2')
depends=()
makedepends=('git')
provides=()
conflicts=('netris') # Doesn't actually exist at the time of writing
# (the original site - netris.org - is dead)
sha1sums+=('SKIP')
md5sums=('SKIP')
source=("${pkgname}::git+https://github.com/gammy/netris.git")
pkgver() {
head -n1 "${pkgname}/VERSION"
}
build() {
cd "$pkgname"
./Configure
make
}
package() {
mkdir -p "${pkgdir}/usr/bin/"
cp -v "${pkgname}/netris" "${pkgdir}/usr/bin/netris"
cp -v "${pkgname}/sr" "${pkgdir}/usr/bin/netris-sr"
}
|