desktop/kanagram/PKGBUILD

39 lines
1.0 KiB
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/kanagram
2015-04-29 22:13:34 +08:00
source ../kdeapps.conf
2015-02-23 23:08:49 +08:00
pkgname=kanagram
pkgver=${_kdever}
pkgrel=1
pkgdesc="Letter order game"
url="http://kde.org/applications/education/kanagram/"
2015-04-29 22:13:34 +08:00
screenshot="https://www.kde.org/images/screenshots/kanagram.png"
2015-02-23 23:08:49 +08:00
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('libkeduvocdocument' 'kdeclarative' 'knewstuff' 'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
provides=('kdeedu-kanagram')
conflicts=('kdeedu-kanagram')
replaces=('kdeedu-kanagram')
groups=("kde" "kdeedu" "kde-uninstall")
categories=('education')
install=${pkgname}.install
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
validpgpkeys=(${Avalidpgpkeys})
2015-02-23 23:08:49 +08:00
prepare() {
2015-04-29 22:13:34 +08:00
mkdir -p build
2015-02-23 23:08:49 +08:00
}
build() {
cd build
2015-04-29 22:13:34 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
2015-02-23 23:08:49 +08:00
make
}
package() {
2015-04-29 22:13:34 +08:00
cd build
2015-02-23 23:08:49 +08:00
make DESTDIR="${pkgdir}" install
}