[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Thu Nov 19 22:51:55 UTC 2015


    Date: Thursday, November 19, 2015 @ 23:51:55
  Author: arojas
Revision: 251459

Add KF5 version of artikulate

Added:
  artikulate/
  artikulate/kde-unstable/
  artikulate/kde-unstable/PKGBUILD
  artikulate/kde-unstable/artikulate.install

--------------------+
 PKGBUILD           |   38 ++++++++++++++++++++++++++++++++++++++
 artikulate.install |   12 ++++++++++++
 2 files changed, 50 insertions(+)

Added: artikulate/kde-unstable/PKGBUILD
===================================================================
--- artikulate/kde-unstable/PKGBUILD	                        (rev 0)
+++ artikulate/kde-unstable/PKGBUILD	2015-11-19 22:51:55 UTC (rev 251459)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 250288 2015-11-09 21:13:39Z arojas $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=artikulate
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="Improve your pronunciation by listening to native speakers"
+url="https://projects.kde.org/projects/kde/kdeedu/artikulate"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdeedu)
+depends=(hicolor-icon-theme kdeclarative knewstuff qt5-gstreamer)
+makedepends=(extra-cmake-modules kdoctools boost)
+install=$pkgname.install
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('8348a2fc3f3bb7c7b2fae8d4fcafa3c7562e1eaf')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Added: artikulate/kde-unstable/artikulate.install
===================================================================
--- artikulate/kde-unstable/artikulate.install	                        (rev 0)
+++ artikulate/kde-unstable/artikulate.install	2015-11-19 22:51:55 UTC (rev 251459)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list