summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD33
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..468e7d618f2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Wed Aug 31 11:44:20 UTC 2016
+pkgbase = stubgen
+ pkgdesc = Creates implementation stubs from C++ headers.
+ pkgver = 2.1.0
+ pkgrel = 1
+ url = http://www.radwin.org/michael/projects/stubgen/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ depends = make
+ depends = flex
+ depends = bison
+ source = https://github.com/mjradwin/stubgen/archive/v2.1.0.tar.gz
+ md5sums = 3afb7d27bf44ec762d0a392dde7e2879
+
+pkgname = stubgen
+
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