[arch-commits] Commit in kunitconversion/repos (2 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Dec 21 12:19:08 UTC 2013
Date: Saturday, December 21, 2013 @ 13:19:08
Author: andrea
Revision: 202355
archrelease: copy trunk to kde-unstable-x86_64
Added:
kunitconversion/repos/kde-unstable-x86_64/
kunitconversion/repos/kde-unstable-x86_64/PKGBUILD
(from rev 202354, kunitconversion/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: kunitconversion/repos/kde-unstable-x86_64/PKGBUILD (from rev 202354, kunitconversion/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2013-12-21 12:19:08 UTC (rev 202355)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kunitconversion
+pkgver=r5.1e2ebda
+pkgrel=1
+pkgdesc='KUnitConversion'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kunitconversion'
+license=('LGPL')
+depends=('kconfig' 'ki18n')
+makedepends=('extra-cmake-modules' 'git')
+groups=('kf5')
+source=('git://anongit.kde.org/kunitconversion.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kunitconversion
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kunitconversion \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/opt/kf5 \
+ -DLIB_INSTALL_DIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list