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> # Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdegames-bomber/
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration # Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf source ../kdeapps.conf
pkgname=kdegames-bomber pkgname=bomber
_pkgname=bomber
pkgver=${_kdever} pkgver=${_kdever}
pkgrel=1 pkgrel=1
pkgdesc="Arcade Bombing Game" pkgdesc="Arcade Bombing Game"
arch=('x86_64') arch=('x86_64')
url='http://www.kde.org' url='http://kde.org/applications/games/bomber/'
license=('GPL' license=('GPL' 'LGPL' 'FDL')
'LGPL' depends=("libkdegames=${_kdever}")
'FDL') makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
depends=("kdegames-libkdegames>=${_kdever}") groups=("kde" "kdegames" "kde-uninstall")
makedepends=('pkg-config' provides=('kdegames-bomber')
'cmake' replaces=('kdegames-bomber')
'automoc4') conflicts=('kdegames-bomber')
groups=("kde" options=('docs' '!header' 'debug' 'log')
"kdegames" source=("$_mirror/${pkgname}-$_kdever.tar.xz")
"kde-uninstall") sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
provides=('bomber')
options=('docs' prepare() {
'!header' mkdir -p build
'debug' }
'log')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() { build() {
cd ${srcdir}/${_pkgname}-${pkgver} cd build
cmake . \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=${_build_type} \ make
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
} }
package() { package() {
cd ${srcdir}/${_pkgname}-${pkgver} cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install make DESTDIR=${pkgdir} install
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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