summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorUffe Jakobsen2016-08-31 13:45:06 +0200
committerUffe Jakobsen2016-08-31 13:45:06 +0200
commitcc84ccff03207c61725042b1837847049c97ef3e (patch)
treeb3eedc052b9e520254fbca2a2a53ea3dd7be8355 /PKGBUILD
downloadaur-stubgen.tar.gz
Initial
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..1e3832e0e09
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+#
+# stubgen PKGBUILD
+#
+# Maintainer: uffe Jakobsen <_uffe_-at-_uffe_-_dot_-_org>
+# Past Maintainer: Romain Schmitz <myself at slopjong dot de>
+
+
+pkgname=stubgen
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="Creates implementation stubs from C++ headers."
+arch=('i686' 'x86_64')
+url="http://www.radwin.org/michael/projects/stubgen/"
+license=('BSD')
+depends=('make' 'flex' 'bison')
+source=(https://github.com/mjradwin/${pkgname}/archive/v${pkgver}.tar.gz)
+md5sums=('3afb7d27bf44ec762d0a392dde7e2879')
+
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make CFLAGS="-Wno-error -O"
+}
+
+ package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ mkdir -p ${pkgdir}/usr/{bin,share/stubgen}
+ mv stubgen ${pkgdir}/usr/bin
+ mv ChangeLog ${pkgdir}/usr/share/stubgen
+ mv README ${pkgdir}/usr/share/stubgen
+}
+
+# EOF