[arch-commits] Commit in extra-cmake-modules/repos (2 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Fri Dec 20 23:17:45 UTC 2013
Date: Saturday, December 21, 2013 @ 00:17:44
Author: andrea
Revision: 202256
archrelease: copy trunk to kde-unstable-any
Added:
extra-cmake-modules/repos/kde-unstable-any/
extra-cmake-modules/repos/kde-unstable-any/PKGBUILD
(from rev 202255, extra-cmake-modules/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: extra-cmake-modules/repos/kde-unstable-any/PKGBUILD (from rev 202255, extra-cmake-modules/trunk/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD (rev 0)
+++ kde-unstable-any/PKGBUILD 2013-12-20 23:17:44 UTC (rev 202256)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=extra-cmake-modules
+pkgver=r2446.83f4d25
+pkgrel=1
+pkgdesc='Extra modules and scripts for CMake'
+arch=('any')
+url='https://projects.kde.org/projects/kdesupport/extra-cmake-modules'
+license=('LGPL')
+depends=('cmake')
+makedepends=('git')
+source=('git://anongit.kde.org/extra-cmake-modules.git#tag=plasma2tp')
+md5sums=('SKIP')
+
+pkgver() {
+ cd extra-cmake-modules
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../extra-cmake-modules \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list