kdegames-bomber/bovo/granatier/kapman/katomic/kblackbox/kblocks/kbounce/kbreakout/kdiamond/kfourinline/killbos,libkdegames,libmahjongg: ported to KF5

This commit is contained in:
Neophytos Kolokotronis 2015-04-07 00:09:03 +00:00
parent d00dc5e799
commit cf22b2b569
12 changed files with 266 additions and 382 deletions

View File

@ -1,45 +1,35 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-bomber/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-bomber
_pkgname=bomber
pkgname=bomber
pkgver=${_kdever}
pkgrel=1
pkgdesc="Arcade Bombing Game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('bomber')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/bomber/'
license=('GPL' 'LGPL' 'FDL')
depends=("libkdegames=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-bomber')
replaces=('kdegames-bomber')
conflicts=('kdegames-bomber')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,46 +1,35 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-bovo/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-bovo
_pkgname=bovo
pkgname=bovo
pkgver=${_kdever}
pkgrel=1
pkgdesc="Five-in-a-row Board Game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('bovo')
options=('docs'
'!header'
'debug'
'log')
url='http://kde.org/applications/games/bovo/'
license=('GPL' 'LGPL' 'FDL')
depends=("libkdegames=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-bovo')
replaces=('kdegames-bovo')
conflicts=('kdegames-bovo')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
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'
make
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,35 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-granatier/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-granatier
_pkgname=granatier
pkgname=granatier
pkgver=${_kdever}
pkgrel=1
pkgdesc="Granatier is a clone of the classic Bomberman game, inspired by the Clanbomber clone"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('granatier')
options=('docs'
'!header'
'debug'
'log')
url='http://kde.org/applications/games/granatier/'
license=('GPL' 'LGPL' 'FDL')
depends=('knotifyconfig' "libkdegames=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
provides=('kdegames-granatier')
replaces=('kdegames-granatier')
conflicts=('kdegames-granatier')
groups=("kde" "kdegames" "kde-uninstall")
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,35 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-kapman/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-kapman
_pkgname=kapman
pkgname=kapman
pkgver=${_kdever}
pkgrel=1
pkgdesc="Eat pills while escaping ghosts"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('kapman')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/kapman/'
license=('GPL' 'LGPL' 'FDL')
depends=('knotifyconfig' "libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
provides=('kdegames-kapman')
replaces=('kdegames-kapman')
conflicts=('kdegames-kapman')
groups=("kde" "kdegames" "kde-uninstall")
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,46 +1,35 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-katomic/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-katomic
_pkgname=katomic
pkgname=katomic
pkgver=${_kdever}
pkgrel=1
pkgdesc="Sokoban-like logic Game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kde-runtime"
"kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('katomic')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/katomic/'
license=('GPL' 'LGPL' 'FDL')
depends=("knotifyconfig" "libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-katomic')
replaces=('kdegames-katomic')
conflicts=('kdegames-katomic')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,35 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-kblackbox/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-kblackbox
_pkgname=kblackbox
pkgname=kblackbox
pkgver=${_kdever}
pkgrel=1
pkgdesc="Blackbox logic game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('kblackbox')
options=('docs'
'!header'
'debug'
'log')
makedepends=('pkg-config'
'cmake'
'automoc4')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/kblackbox/'
license=('GPL' 'LGPL' 'FDL')
depends=("libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
replaces=('kdegames-kblackbox')
conflicts=('kdegames-kblackbox')
provides=('kdegames-kblackbox')
groups=("kde" "kdegames" "kde-uninstall")
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,36 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/i686/kdegames-kblocks/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-kblocks
_pkgname=kblocks
pkgname=kblocks
pkgver=${_kdever}
pkgrel=1
pkgdesc="Falling blocks game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('kblocks')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/kblocks/'
screenshot="https://www.kde.org/images/screenshots/kblocks.png"
license=('GPL' 'LGPL' 'FDL')
depends=("knotifyconfig" "libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-kblocks')
replaces=('kdegames-kblocks')
provides=('kdegames-kblocks')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,36 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-kbounce/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-kbounce
_pkgname=kbounce
pkgname=kbounce
pkgver=${_kdever}
pkgrel=1
pkgdesc="Ball-bouncing game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('kbounce')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/kbounce/'
screenshot='https://www.kde.org/images/screenshots/kbounce.png'
license=('GPL' 'LGPL' 'FDL')
depends=("knotifyconfig" "libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-kbounce')
replaces=('kdegames-kbounce')
provides=('kdegames-kbounce')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,36 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-kbreakout/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-kbreakout
_pkgname=kbreakout
pkgname=kbreakout
pkgver=${_kdever}
pkgrel=1
pkgdesc="Breakout-like game for KDE"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('kbreakout')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/kbreakout/'
screenshot="https://www.kde.org/images/screenshots/kbreakout.png"
license=('GPL' 'LGPL' 'FDL')
depends=("libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-kbreakout')
replaces=('kdegames-kbreakout')
conflicts=('kdegames-kbreakout')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,36 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-kdiamond/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-kdiamond
_pkgname=kdiamond
pkgname=kdiamond
pkgver=${_kdever}
pkgrel=1
pkgdesc="Three-in-a-row game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('kdiamond')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/kdiamond/'
screenshot='https://www.kde.org/images/screenshots/kdiamond.png'
license=('GPL' 'LGPL' 'FDL')
depends=("knotifyconfig" "libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-kdiamond')
replaces=('kdegames-kdiamond')
conflicts=('kdegames-kdiamond')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,36 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-kfourinline/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-kfourinline
_pkgname=kfourinline
pkgname=kfourinline
pkgver=${_kdever}
pkgrel=1
pkgdesc="Four-in-a-row board game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('kfourinline')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/kfourinline/'
screenshot='https://www.kde.org/images/screenshots/kfourinline.png'
license=('GPL' 'LGPL' 'FDL')
depends=("knotifyconfig" "libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-kfourinline')
replaces=('kdegames-kfourinline')
conflicts=('kdegames-kfourinline')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -1,45 +1,36 @@
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-killbots/
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdegames-killbots
_pkgname=killbots
pkgname=killbots
pkgver=${_kdever}
pkgrel=1
pkgdesc="The classical KDE Killbots Game"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL'
'LGPL'
'FDL')
depends=("kdegames-libkdegames>=${_kdever}")
makedepends=('pkg-config'
'cmake'
'automoc4')
groups=("kde"
"kdegames"
"kde-uninstall")
provides=('killbots')
options=('docs'
'!header'
'debug'
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
url='http://kde.org/applications/games/killbots/'
screenshot="https://www.kde.org/images/screenshots/killbots.png"
license=('GPL' 'LGPL' 'FDL')
depends=("knotifyconfig" "libkdegames>=${_kdever}")
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=("kde" "kdegames" "kde-uninstall")
provides=('kdegames-killbots')
replaces=('kdegames-killbots')
conflicts=('kdegames-killbots')
options=('docs' '!header' 'debug' 'log')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
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'
make
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}