desktop/kdegames-kollision/PKGBUILD
2014-01-12 12:19:36 +00:00

40 lines
1.1 KiB
Bash

# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdegames-kollision
_pkgname=kollision
pkgver=${_kdever}
pkgrel=3
pkgdesc="A Simple Ball Dodging Game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config' 'cmake' 'automoc4')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
groups=("kde" "kdegames" "kde-uninstall")
provides=('kollision')
options=('docs' '!header' 'debug' 'log')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
}
sha256sums=('7e46bbe20462620381073d16836e0824a1d658f57cf04e2425045abb5f847bfb')