[arch-commits] Commit in aiksaurus/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 11:31:43 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:31:42
  Author: felixonmars
Revision: 384318

archrelease: copy trunk to staging-x86_64

Added:
  aiksaurus/repos/staging-x86_64/
  aiksaurus/repos/staging-x86_64/PKGBUILD
    (from rev 384317, aiksaurus/trunk/PKGBUILD)
  aiksaurus/repos/staging-x86_64/aiksaurus-gcc44.patch
    (from rev 384317, aiksaurus/trunk/aiksaurus-gcc44.patch)

-----------------------+
 PKGBUILD              |   30 ++++++++++++++++++++++++++++++
 aiksaurus-gcc44.patch |   31 +++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

Copied: aiksaurus/repos/staging-x86_64/PKGBUILD (from rev 384317, aiksaurus/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 11:31:42 UTC (rev 384318)
@@ -0,0 +1,30 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=aiksaurus
+pkgver=1.2.1
+pkgrel=7
+pkgdesc="A cross-platform, open-source thesaurus"
+url="http://aiksaurus.sourceforge.net/"
+license=('GPL')
+arch=('x86_64')
+depends=('gtk2')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'aiksaurus-gcc44.patch')
+sha512sums=('48591850f28f1a8f4b4986df14090ef7bd57cbfbad739cb0013db021f6f5bcb3c592b38e36774735499e27b9e99330504f8d9c6022158e25469cbc81d13f7463'
+            '66db53f7499425eb1ff572df4a674f378ed681edeb48ea5926b21d39c8a399c36740e03de101e23a47e043fcce29f66a03c64dc813dc5beda1043d0057711fa5')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # gcc44 build patch
+  patch -Np0 -i ${srcdir}/aiksaurus-gcc44.patch
+
+  ./configure --prefix=/usr --with-gtk
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: aiksaurus/repos/staging-x86_64/aiksaurus-gcc44.patch (from rev 384317, aiksaurus/trunk/aiksaurus-gcc44.patch)
===================================================================
--- staging-x86_64/aiksaurus-gcc44.patch	                        (rev 0)
+++ staging-x86_64/aiksaurus-gcc44.patch	2020-05-16 11:31:42 UTC (rev 384318)
@@ -0,0 +1,31 @@
+--- base/aiksaurus.t.cpp~	2003-06-26 21:44:38.000000000 -0400
++++ base/aiksaurus.t.cpp	2009-05-31 20:02:29.172988678 -0400
+@@ -22,6 +22,7 @@
+ #include "Aiksaurus.h"
+ #include "AsciiCompare.h"
+ #include "config.h"
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+ using namespace std;
+
+--- ./gtk/src/Display.cpp~	2003-05-27 19:56:54.000000000 -0400
++++ ./gtk/src/Display.cpp	2009-06-02 18:09:36.198627551 -0400
+@@ -22,6 +22,7 @@
+ #include "Meaning.h"
+ #include "DialogMediator.h"
+ #include "Exception.h"
++#include <cstring>
+ using namespace std;
+ 
+ namespace AiksaurusGTK_impl
+--- ./gtk/src/gtkAiksaur.t.cpp~	2002-01-11 21:02:12.000000000 -0500
++++ ./gtk/src/gtkAiksaur.t.cpp	2009-06-02 18:12:06.815277325 -0400
+@@ -21,6 +21,7 @@
+ #include <AiksaurusGTK.h>
+ #include "config.h"
+ #include <gtk/gtk.h>
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+ using namespace std;


More information about the arch-commits mailing list