summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a83aa81fe0b5b3b6dcbf862c2df275ee1ccd7bd (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
# Maintainer: Christoph J. Thompson <thompsonc at protonmail dot ch>

pkgname=freeblocks
pkgver=0.5
pkgrel=2
pkgdesc="Tetris Attack-like puzzle game"
arch=('i686' 'x86_64')
url="http://github.com/dorkster/freeblocks"
license=('GPL3')
depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_ttf')
makedepends=('cmake')
source=(https://github.com/dorkster/freeblocks/archive/v${pkgver}.tar.gz)
sha256sums=(8da72ccf7bcba585fcd8b65943f590f51aff06286f3ed920a13c0c90fb392e06)

build() {
  cd "${pkgname}-${pkgver}"
  cmake \
   -DCMAKE_C_FLAGS="${CFLAGS}" \
   -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}