summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-28 20:17:14 +0100
committerJaroslav Lichtblau2014-11-28 20:17:14 +0100
commit3a3bb5da12abd5b556521446ccfe8ae39b2055c6 (patch)
treecf907415a7fbd6d88d41228d632b78560806638d
downloadaur-3a3bb5da12abd5b556521446ccfe8ae39b2055c6.tar.gz
Initial PKGBUILD status as of 28.11.2014
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD30
-rw-r--r--lostirc-0.4.6-gcc.diff8
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..26366af0837
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = lostirc
+ pkgdesc = A simple, yet very useful IRC client
+ pkgver = 0.4.6
+ pkgrel = 3
+ url = http://lostirc.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = patch
+ depends = gtk2
+ depends = gtkmm
+ depends = libsigc++
+ source = http://downloads.sourceforge.net/sourceforge/lostirc/lostirc-0.4.6.tar.gz
+ source = lostirc-0.4.6-gcc.diff
+ md5sums = 501cd56bc0740d599540fb415718b939
+ md5sums = 5ac26f2e3beaa233b350de2cf8330923
+
+pkgname = lostirc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..effac88f74c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=lostirc
+pkgver=0.4.6
+pkgrel=3
+pkgdesc="A simple, yet very useful IRC client"
+arch=('i686' 'x86_64')
+url="http://lostirc.sourceforge.net/"
+license=('GPL')
+depends=('gtk2' 'gtkmm' 'libsigc++')
+makedepends=('patch')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
+ $pkgname-$pkgver-gcc.diff)
+md5sums=('501cd56bc0740d599540fb415718b939'
+ '5ac26f2e3beaa233b350de2cf8330923')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ patch -Np0 -i ${srcdir}/$pkgname-$pkgver-gcc.diff
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/lostirc-0.4.6-gcc.diff b/lostirc-0.4.6-gcc.diff
new file mode 100644
index 00000000000..3697cadb42d
--- /dev/null
+++ b/lostirc-0.4.6-gcc.diff
@@ -0,0 +1,8 @@
+--- src/libirc/Parser.cpp.orig 2004-10-14 00:00:49.000000000 +0200
++++ src/libirc/Parser.cpp 2008-05-28 19:33:31.000000000 +0200
+@@ -18,0 +19 @@
++#include <ctime>
+--- src/libirc/Socket.cpp.orig 2005-04-15 03:28:30.000000000 +0200
++++ src/libirc/Socket.cpp 2008-05-28 19:33:31.000000000 +0200
+@@ -27,0 +28 @@
++#include <cstring>