blob: 85328f07d322a48388f0e9ce8e1085f3827203b6 (
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
|
# Maintainer: Iago Arantes <iago.arantes1727@gmail.com>
pkgname=tic-tac-toe-c
pkgver=0.0.3
pkgrel=1
pkgdesc="Terminal-based Tic Tac Toe game in C with WASD/arrow key controls"
arch=('x86_64')
url="https://github.com/iaguinho1727/tic-tac-toe-c"
license=('Apache-2.0')
depends=('glibc')
makedepends=('gcc' 'autoconf')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('7a8a28f9c0b5a7b5f59890bf2b96d47d7a9b0476fe047d0917a0855b44beeb01')
prepare() {
cd "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
autoconf
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|