core/ki18n/PKGBUILD

39 lines
715 B
Bash
Raw Normal View History

2014-11-14 06:49:11 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=ki18n
pkgver=${KFVersion}
2015-01-13 12:51:39 +08:00
pkgrel=1
2014-11-14 06:49:11 +08:00
pkgdesc='A get-text based translation framework'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/ki18n'
license=('LGPL')
depends=("qt5-script")
2014-11-15 06:49:31 +08:00
makedepends=("extra-cmake-modules>=${KFECMVersion}" "python3")
2014-11-14 06:49:11 +08:00
groups=('kf5')
options=("debug")
2014-11-15 06:49:31 +08:00
source=("$KFServer/${pkgname}-${pkgver}.tar.xz")
2014-11-14 06:49:11 +08:00
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
2014-11-15 06:49:31 +08:00
cmake_kf5 ../${pkgname}-${pkgver} \
2014-11-14 06:49:11 +08:00
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
# check() {
# cd build
# make test
# }
2014-11-14 06:49:11 +08:00
package() {
cd build
make DESTDIR="${pkgdir}" install
}