2015-04-07 08:06:36 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkdegames4
|
2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-07 08:06:36 +08:00
|
|
|
source ../kdeapps.conf
|
2012-11-19 05:42:43 +08:00
|
|
|
|
|
|
|
pkgname=kdegames-libkdegames
|
|
|
|
_pkgname=libkdegames
|
2015-04-07 08:06:36 +08:00
|
|
|
pkgver=14.12.3
|
2016-02-16 07:10:22 +08:00
|
|
|
pkgrel=4
|
2012-11-19 05:42:43 +08:00
|
|
|
pkgdesc="Shared libraries for KDE games"
|
|
|
|
arch=('x86_64')
|
2015-04-07 08:06:36 +08:00
|
|
|
url='https://projects.kde.org/projects/kde/kdegames/libkdegames'
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2016-02-16 07:10:22 +08:00
|
|
|
depends=("kdelibs>=${_libsver}" 'openal')
|
2015-04-07 08:06:36 +08:00
|
|
|
makedepends=('pkg-config' 'cmake' 'automoc4')
|
|
|
|
groups=("kde" "kdegames" "kde-uninstall")
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('docs' 'debug')
|
2016-02-16 07:10:22 +08:00
|
|
|
source=("http://download.kde.org/Attic/applications/${pkgver}/src/libkdegames-${pkgver}.tar.xz")
|
2015-04-07 08:06:36 +08:00
|
|
|
sha1sums=('258d8130e7a38d1366466cef1d29ee2e13a456a5')
|
2012-11-19 05:42:43 +08:00
|
|
|
|
|
|
|
build() {
|
2014-01-13 05:14:23 +08:00
|
|
|
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
|
2012-11-19 05:42:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-01-13 05:14:23 +08:00
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
|
|
make DESTDIR=${pkgdir} install
|
2012-11-19 05:42:43 +08:00
|
|
|
}
|