blob: eb45ebf14fc98a3fc87c4712324239376308e0b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Sanzhar 04024004zh@gmail.com
pkgname=trex-c
pkgver=1.0
pkgrel=2
pkgdesc="A console game based on the Google T-Rex game"
arch=("x86_64")
url="https://github.com/StiveMan1/T-RexC"
license=("GNU")
depends=("glibc")
makedepends=("gcc")
source=("trex-c.c" "game_objects.h")
md5sums=("SKIP" "SKIP")
build() {
cd "$srcdir"
gcc -o "$pkgname" "$srcdir/trex-c.c" -lpthread -lm -O3
}
package() {
install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|