summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1a1426032106252318275f07bdfb6b6e1a02bf9 (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
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Alfred Roos alfred@stensatter.se

pkgname=cnake-git
pkgver=1.0.2
pkgrel=1
epoch=
pkgdesc="Snake clone in c with standard lib"
arch=(x86_64)
url="https://github.com/spynetS/cnake"
license=('MIT')
groups=()
depends=()
makedepends=(gcc git)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=()

prepare() {
	git clone https://github.com/spynetS/cnake
}

build() {
	cd cnake
	./build.sh
}

package() {
    cd cnake 
    install -Dm755 ./cnake "$pkgdir/usr/bin/cnake"
}