mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
ported to KF5: kdegames-kjumpingcube/klines/kmines/knetwalk/kollision/kpat/kshisen/ksquares
This commit is contained in:
parent
f8e86d64c7
commit
2b4c79bd17
@ -1,42 +1,37 @@
|
||||
# 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-kjumpingcube/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-kjumpingcube
|
||||
_pkgname=kjumpingcube
|
||||
pkgname=kjumpingcube
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Territory-capture 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")
|
||||
url='http://kde.org/applications/games/kjumpingcube/'
|
||||
screenshot='https://www.kde.org/images/screenshots/kjumpingcube.png'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("knotifyconfig" "libkdegames>=${_kdever}")
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
provides=('kdegames-kjumpingcube')
|
||||
replaces=('kdegames-kjumpingcube')
|
||||
conflicts=('kdegames-kjumpingcube')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kjumpingcube')
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
||||
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
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
|
||||
}
|
||||
|
@ -1,45 +1,34 @@
|
||||
# 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-klines/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-klines
|
||||
_pkgname=klines
|
||||
pkgname=klines
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Tactical 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=('klines')
|
||||
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/klines/'
|
||||
screenshot='https://www.kde.org/images/screenshots/klines.png'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kdegames-klines')
|
||||
replaces=('kdegames-klines')
|
||||
conflicts=('kdegames-klines')
|
||||
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
|
||||
}
|
||||
|
@ -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-kmines/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-kmines
|
||||
_pkgname=kmines
|
||||
pkgname=kmines
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Minesweeper 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=('kamines')
|
||||
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/kmines/'
|
||||
screenshot='https://www.kde.org/images/screenshots/kmines.png'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("knotifyconfig" "libkdegames>=${_kdever}")
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kdegames-kmines')
|
||||
replaces=('kdegames-kmines')
|
||||
conflicts=('kdegames-kmines')
|
||||
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
|
||||
}
|
||||
|
@ -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-knetwalk/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-knetwalk
|
||||
_pkgname=knetwalk
|
||||
pkgname=knetwalk
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Network construction 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=('knetwalk')
|
||||
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/knetwalk/'
|
||||
screenshot='https://www.kde.org/images/screenshots/knetwalk.png'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("knotifyconfig" "libkdegames>=${_kdever}")
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kdegames-knetwalk')
|
||||
replaces=('kdegames-knetwalk')
|
||||
conflicts=('kdegames-knetwalk')
|
||||
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
|
||||
}
|
||||
|
@ -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-kollision/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-kollision
|
||||
_pkgname=kollision
|
||||
pkgname=kollision
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
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')
|
||||
groups=("kde"
|
||||
"kdegames"
|
||||
"kde-uninstall")
|
||||
provides=('kollision')
|
||||
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/kollision/'
|
||||
screenshot='https://www.kde.org/images/screenshots/kollision.png'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("knotifyconfig" "libkdegames>=${_kdever}")
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kdegames-kollision')
|
||||
replaces=('kdegames-kollision')
|
||||
conflicts=('kdegames-kollision')
|
||||
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
|
||||
}
|
||||
|
@ -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-kpatience/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-kpat
|
||||
_pkgname=kpat
|
||||
pkgname=kpat
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Collection of various patience games"
|
||||
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=('kpat')
|
||||
options=('docs'
|
||||
'!header'
|
||||
'debug'
|
||||
'log')
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
|
||||
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("knotifyconfig" "libkdegames>=${_kdever}")
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kdegames-kpat')
|
||||
replaces=('kdegames-kpat')
|
||||
conflicts=('kdegames-kpat')
|
||||
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
|
||||
}
|
||||
|
@ -1,46 +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-kshisen/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-kshisen
|
||||
_pkgname=kshisen
|
||||
pkgname=kshisen
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Shisen-Sho tile game"
|
||||
arch=('x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL'
|
||||
'LGPL'
|
||||
'FDL')
|
||||
depends=("kdegames-libkdegames>=${_kdever}"
|
||||
"kdegames-libkmahjongg>=${_kdever}")
|
||||
makedepends=('pkg-config'
|
||||
'cmake'
|
||||
'automoc4')
|
||||
groups=("kde"
|
||||
"kdegames"
|
||||
"kde-uninstall")
|
||||
provides=('kshisen')
|
||||
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/kshisen/'
|
||||
screenshot='https://www.kde.org/images/screenshots/kshisen.png'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("libkmahjongg>=${_kdever}" "libkdegames>=${_kdever}")
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kdegames-kshisen')
|
||||
replaces=('kdegames-kshisen')
|
||||
conflicts=('kdegames-kshisen')
|
||||
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
|
||||
}
|
||||
|
@ -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-ksquares/
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
source ../kdeapps.conf
|
||||
|
||||
pkgname=kdegames-ksquares
|
||||
_pkgname=ksquares
|
||||
pkgname=ksquares
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Connect dots to create squares 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=('ksquares')
|
||||
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/ksquares/'
|
||||
screenshot='https://www.kde.org/images/screenshots/ksquares.png'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("knotifyconfig" "libkdegames>=${_kdever}")
|
||||
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
|
||||
groups=("kde" "kdegames" "kde-uninstall")
|
||||
provides=('kdegames-ksquares')
|
||||
replaces=('kdegames-ksquares')
|
||||
conflicts=('kdegames-ksquares')
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user