[arch-commits] Commit in kcodecs/repos (2 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Fri Dec 20 23:36:46 UTC 2013


    Date: Saturday, December 21, 2013 @ 00:36:46
  Author: andrea
Revision: 202262

archrelease: copy trunk to kde-unstable-x86_64

Added:
  kcodecs/repos/kde-unstable-x86_64/
  kcodecs/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 202261, kcodecs/trunk/PKGBUILD)

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

Copied: kcodecs/repos/kde-unstable-x86_64/PKGBUILD (from rev 202261, kcodecs/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2013-12-20 23:36:46 UTC (rev 202262)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcodecs
+pkgver=r5.7b2bc21
+pkgrel=1
+pkgdesc='Plugins allowing Qt applications to access further types of images'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kcodecs'
+license=('LGPL')
+depends=('qt5-base')
+makedepends=('extra-cmake-modules' 'git')
+conflicts=('kcodecs')
+provides=('kcodecs')
+source=('git://anongit.kde.org/kcodecs.git')
+md5sums=('SKIP')
+
+pkgver() {
+  cd kcodecs
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kcodecs \
+    -DCMAKE_BUILD_TYPE=Debug \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list