desktop/parley/PKGBUILD

37 lines
972 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/parley
2015-04-29 22:14:38 +08:00
source ../kdeapps.conf
2015-02-23 23:08:49 +08:00
pkgname=parley
pkgver=${_kdever}
pkgrel=1
pkgdesc="Vocabulary trainer"
url="http://kde.org/applications/education/parley/"
2015-04-29 22:14:38 +08:00
screenshot="https://www.kde.org/images/screenshots/parley.png"
2015-02-23 23:08:49 +08:00
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kross' 'knewstuff' 'libkeduvocdocument' 'khtml' 'qt5-multimedia' 'kcmutils')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
replaces=('kdeedu-parley')
conflicts=('kdeedu-parley')
provides=('kdeedu-parley')
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:38 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
2015-02-23 23:08:49 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}