summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFilipe Verri2016-11-29 12:08:42 -0700
committerFilipe Verri2016-11-29 12:08:42 -0700
commit8b136d0532d5b473fe79d47a98240e7e524da1e6 (patch)
treef9aeeba6ac8533de9e41cb41d410c6f55ee84803 /PKGBUILD
downloadaur-8b136d0532d5b473fe79d47a98240e7e524da1e6.tar.gz
Package created.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d6183d149ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Verri <filipeverri@gmail.com>
+
+pkgname=standardese-git
+pkgver=0.3
+pkgrel=1
+pkgdesc="A (work-in-progress) nextgen Doxygen for C++"
+arch=('i686' 'x86_64')
+url="https://github.com/foonathan/standardese"
+license=('MIT')
+depends=('clang>=3.7.1' 'boost>=1.55')
+makedepends=('git' 'cmake')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('git+https://github.com/foonathan/standardese.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ mkdir build
+ cd build
+ cmake -DSTANDARDESE_BUILD_TEST=OFF ..
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}/build"
+ make DESTDIR="$pkgdir/" install
+}