From f040d55b8bb98bbea179800f5a9b2b2ea3bc0099 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Mon, 17 Sep 2018 11:14:17 +0200 Subject: Add freeblocks. --- freeblocks/.SRCINFO | 18 ++++++++++++++++++ freeblocks/PKGBUILD | 26 ++++++++++++++++++++++++++ freeblocks/freeblocks.install | 11 +++++++++++ 3 files changed, 55 insertions(+) create mode 100644 freeblocks/.SRCINFO create mode 100644 freeblocks/PKGBUILD create mode 100644 freeblocks/freeblocks.install diff --git a/freeblocks/.SRCINFO b/freeblocks/.SRCINFO new file mode 100644 index 0000000..4e0a760 --- /dev/null +++ b/freeblocks/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = freeblocks + pkgdesc = Tetris Attack-like puzzle game + pkgver = 0.5 + pkgrel = 2 + url = http://github.com/dorkster/freeblocks + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + depends = sdl + depends = sdl_image + depends = sdl_mixer + depends = sdl_ttf + source = https://github.com/dorkster/freeblocks/archive/v0.5.tar.gz + sha256sums = 8da72ccf7bcba585fcd8b65943f590f51aff06286f3ed920a13c0c90fb392e06 + +pkgname = freeblocks + 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 + +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 +} diff --git a/freeblocks/freeblocks.install b/freeblocks/freeblocks.install new file mode 100644 index 0000000..58b897a --- /dev/null +++ b/freeblocks/freeblocks.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} -- cgit v1.2.3-70-g09d2