summaryrefslogtreecommitdiff
path: root/extra/ki18n
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ki18n')
-rw-r--r--extra/ki18n/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/ki18n/PKGBUILD b/extra/ki18n/PKGBUILD
new file mode 100644
index 000000000..ad085a0d0
--- /dev/null
+++ b/extra/ki18n/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=ki18n
+pkgver=4.99.0
+pkgrel=1
+pkgdesc='Ki18n'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/ki18n'
+license=('LGPL')
+depends=('qt5-script')
+makedepends=('extra-cmake-modules')
+groups=('kf5')
+source=("http://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('aec50a8bce055c81e361088df61a4a7c')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DECM_MKSPECS_INSTALL_DIR=/usr/share/qt/mkspecs/modules \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}