[arch-commits] Commit in (kamera kamera/kde-unstable kamera/kde-unstable/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Nov 19 23:04:18 UTC 2015


    Date: Friday, November 20, 2015 @ 00:04:18
  Author: arojas
Revision: 251461

Add KF5 version of kamera

Added:
  kamera/
  kamera/kde-unstable/
  kamera/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: kamera/kde-unstable/PKGBUILD
===================================================================
--- kamera/kde-unstable/PKGBUILD	                        (rev 0)
+++ kamera/kde-unstable/PKGBUILD	2015-11-19 23:04:18 UTC (rev 251461)
@@ -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=kamera
+pkgver=15.11.80
+pkgrel=1
+pkgdesc="KDE integration for gphoto2 cameras"
+url="http://kde.org/applications/graphics/kamera/"
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdegraphics)
+depends=(kio libgphoto2)
+makedepends=(extra-cmake-modules kdoctools)
+conflicts=(kdegraphics-kamera)
+replaces=(kdegraphics-kamera)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('1a5d8f53018936096590e6ffac96e6f13bac8ae3')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list