diff options
author | Deposite Pirate | 2018-09-17 11:14:17 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-17 11:14:17 +0200 |
commit | f040d55b8bb98bbea179800f5a9b2b2ea3bc0099 (patch) | |
tree | f44ec64aa36a060bf7f78b723bd9a0de924e4bc3 /freeblocks/PKGBUILD | |
parent | 3c487cace149036575f350d5502c6d64610d2745 (diff) |
Add freeblocks.
Diffstat (limited to 'freeblocks/PKGBUILD')
-rw-r--r-- | freeblocks/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/freeblocks/PKGBUILD b/freeblocks/PKGBUILD new file mode 100644 index 0000000..029f4b6 --- /dev/null +++ b/freeblocks/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Deposite Pirate <dpirate at metalpunks dot info> + +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 +} |