summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipe Verri2016-11-29 12:08:42 -0700
committerFilipe Verri2016-11-29 12:08:42 -0700
commit8b136d0532d5b473fe79d47a98240e7e524da1e6 (patch)
treef9aeeba6ac8533de9e41cb41d410c6f55ee84803
downloadaur-8b136d0532d5b473fe79d47a98240e7e524da1e6.tar.gz
Package created.
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD33
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b72a3672e04
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = standardese-git
+ pkgdesc = A (work-in-progress) nextgen Doxygen for C++
+ pkgver = 0.3
+ pkgrel = 1
+ url = https://github.com/foonathan/standardese
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = cmake
+ depends = clang>=3.7.1
+ depends = boost>=1.55
+ provides = standardese
+ conflicts = standardese
+ source = git+https://github.com/foonathan/standardese.git
+ md5sums = SKIP
+
+pkgname = standardese-git
+
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
+}