summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c13e8e5c2ec43e9543c1d0bfabc822c254a06558 (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
# Contributor: Lucas Puntillo <laniku@envs.net>

pkgname=chipeight-git
pkgver=0.1.git
pkgrel=1
pkgdesc="Work in progress Chip8 emulator."
arch=(x86_64)
url="https://git.envs.net/laniku/chip8"
license=('MIT')
depends=("freeglut")
makedepends=("devtools")
source=("https://git.envs.net/laniku/chip8/archive/master.tar.gz")

prepare() {
	ldconfig
}

build() {
	cd master
        g++ *.hxx *.cxx -o c8 -lglut -lgl -I /usr/local/include
}

package() {
	cd master
        chmod +x ./c8
        cp ./c8 /usr/local/bin
}