summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df8cae021ba8f2652a11be3cbb72dab0553438d5 (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
# Maintainer: Szymon Scholz
# Contributor: Sean Bartell <yotann@yotann.org>
# Website and source removed from web, including archive.org sources
pkgname=nanopond
pkgver=1.9
pkgrel=2
pkgdesc="A teeny tiny artificial life virtual machine"
arch=('i686' 'x86_64')
url="https://web.archive.org/web/20171017223720/http://adam.ierymenko.name:80/nanopond.shtml"
license=('GPL')
depends=('sdl')
source=("$pkgname-$pkgver.c")

build() {
    # These are the flags recommended in the source file
    gcc $CFLAGS $(sdl-config --cflags --libs) \
        -O6 -funroll-loops -fomit-frame-pointer -ftree-vectorize \
        -o nanopond "$pkgname-$pkgver.c"
}

package() {
    mkdir -p $pkgdir/usr/bin
    install nanopond "$pkgdir/usr/bin"
}
md5sums=('92466a08c17618e53583003aa45a373f')