desktop/khangman/PKGBUILD

37 lines
952 B
Bash
Raw Normal View History

2015-02-23 23:08:49 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/khangman
2015-04-29 22:14:09 +08:00
source ../kdeapps.conf
2015-02-23 23:08:49 +08:00
pkgname=khangman
pkgver=${_kdever}
pkgrel=1
pkgdesc="Hangman game"
url="http://kde.org/applications/education/khangman/"
2015-04-29 22:14:09 +08:00
screenshot="https://www.kde.org/images/screenshots/khangman.png"
2015-02-23 23:08:49 +08:00
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
2015-04-29 22:14:09 +08:00
depends=('libkeduvocdocument' 'knewstuff' 'kdeclarative')
2015-02-23 23:08:49 +08:00
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
provides=('kdeedu-khangman')
conflicts=('kdeedu-khangman')
replaces=('kdeedu-khangman')
groups=("kde" "kdeedu" "kde-uninstall")
categories=('education')
install=${pkgname}.install
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
2015-04-29 22:14:09 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
2015-02-23 23:08:49 +08:00
make
}
package() {
2015-04-29 22:14:09 +08:00
cd build
2015-02-23 23:08:49 +08:00
make DESTDIR="${pkgdir}" install
}