22 lines
632 B
Plaintext
22 lines
632 B
Plaintext
# Description : Common code and data for kmahjongg game
|
|
# URL : https://projects.kde.org/projects/kde/kdegames/libkmahjongg
|
|
# Packager : alihan-ozturk28@hotmail.com
|
|
# Depends on : kf5-extra-cmake-modules kf5-kdoctools kf5-kdelibs4support kf5-kdeclarative kf5-kdnssd kf5-knewstuff openal
|
|
|
|
name=libkmahjongg
|
|
version=16.08.0
|
|
release=1
|
|
|
|
source=(http://download.kde.org/stable/applications/${version}/src/${name}-${version}.tar.xz)
|
|
|
|
build() {
|
|
cd ${name}-${version}
|
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
|
-DBUILD_TESTING=OFF \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|