summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be7b28b3ee2c92493dec27123a2d7440557ee269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Federico Di Pierro <nierro92@gmail.com>

pkgname=snake-ncurses
pkgver=8.8
pkgrel=2
pkgdesc="snake game clone written in C and ncurses"
arch=(i686 x86_64)
license=('GPL3')
url="https://github.com/FedeDP/Snake"
groups=('games')
depends=('ncurses')
source=("snake.c" "makefile")
md5sums=('SKIP' 'SKIP')

build() {
  cd "$srcdir"
  make
}

package() {
  cd "$srcdir"
  install -D -m755 $pkgname $pkgdir/usr/bin/$pkgname
}