summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0c0474ee9f748b3d71fca876a58228bb8051f96b (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=minefield
pkgver=2.2
pkgrel=2
pkgdesc="Minefield game written in C and ncurses"
arch=(i686 x86_64)
license=('GPL3')
url="https://github.com/FedeDP/minefield"
groups=('games')
depends=('ncurses')
source=("$pkgname.c" "makefile")
md5sums=('SKIP' 'SKIP')

build() {
  cd "$srcdir"
  make
}

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