[arch-commits] Commit in kapidox/repos (kde-unstable-any kde-unstable-any/PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Fri Dec 20 23:31:31 UTC 2013
Date: Saturday, December 21, 2013 @ 00:31:31
Author: andrea
Revision: 202258
archrelease: copy trunk to kde-unstable-any
Added:
kapidox/repos/kde-unstable-any/
kapidox/repos/kde-unstable-any/PKGBUILD
(from rev 202257, kapidox/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: kapidox/repos/kde-unstable-any/PKGBUILD (from rev 202257, kapidox/trunk/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD (rev 0)
+++ kde-unstable-any/PKGBUILD 2013-12-20 23:31:31 UTC (rev 202258)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kapidox
+pkgver=r3.cab46ac
+pkgrel=1
+pkgdesc='Frameworks API Documentation Tools'
+arch=('any')
+url='https://projects.kde.org/projects/frameworks/kapidox'
+license=('LGPL')
+depends=()
+makedepends=('extra-cmake-modules' 'qt5-base' 'git')
+conflicts=('kapidox')
+provides=('kapidox')
+source=('git://anongit.kde.org/kapidox.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kapidox
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kapidox \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list