summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/irssi-otr/4ad3b7b.patch22
-rw-r--r--pcr/irssi-otr/PKGBUILD9
2 files changed, 28 insertions, 3 deletions
diff --git a/pcr/irssi-otr/4ad3b7b.patch b/pcr/irssi-otr/4ad3b7b.patch
new file mode 100644
index 000000000..f310ad583
--- /dev/null
+++ b/pcr/irssi-otr/4ad3b7b.patch
@@ -0,0 +1,22 @@
+--- irssi-otr-1.0.1.orig/configure.ac 2015-01-03 11:50:28.000000000 -0500
++++ irssi-otr-1.0.1/configure.ac 2016-12-06 15:53:26.433619013 -0500
+@@ -31,7 +31,7 @@
+
+ AM_PATH_LIBGCRYPT(1:1.2.0,,AC_MSG_ERROR(libgcrypt 1.2.0 or newer is required.))
+
+-AM_PATH_LIBOTR(4.0.0, [], [AC_MSG_ERROR([libotr 4.0.0 or newer is required.])])
++AM_PATH_LIBOTR(4.1.0, [], [AC_MSG_ERROR([libotr 4.1.0 or newer is required.])])
+
+ pkg_modules="gmodule-2.0 >= 2.0.0"
+ PKG_CHECK_MODULES(GMODULE, [$pkg_modules])
+--- irssi-otr-1.0.1.orig/irssi-otr.spec.in 2014-03-10 16:35:11.000000000 -0500
++++ irssi-otr-1.0.1/irssi-otr.spec.in 2016-12-06 15:53:47.552677700 -0500
+@@ -9,7 +9,7 @@
+
+ BuildRequires: glib2-devel >= 2.13
+ BuildRequires: irssi-devel
+-BuildRequires: libotr-devel >= 4.0.0
++BuildRequires: libotr-devel >= 4.1.0
+ BuildRequires: pkgconfig
+ Requires: irssi
+
diff --git a/pcr/irssi-otr/PKGBUILD b/pcr/irssi-otr/PKGBUILD
index e9e7cb018..a56d0cb23 100644
--- a/pcr/irssi-otr/PKGBUILD
+++ b/pcr/irssi-otr/PKGBUILD
@@ -5,17 +5,20 @@
pkgname=irssi-otr
pkgver=1.0.1
-pkgrel=1
+pkgrel=1.2
pkgdesc="Off-the-Record Messaging (OTR) for the Irssi IRC client"
url="https://github.com/cryptodotis/irssi-otr"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('irssi' 'libotr' 'glib2')
-source=(${pkgname}-${pkgver}.tar.bz2::https://www.otr.im/dist/irssi-otr/irssi-otr-${pkgver}.tar.bz2)
-sha512sums=('f7a2b04a1bd43b2436abe3592d8110acbe719575e295e789fd7ad92c87d4dbd99155439a6b1da349a3f86418a451fba2bfb1b085915e85688b5e214c1e9de0e2')
+source=(${pkgname}-${pkgver}.tar.bz2::https://www.otr.im/dist/irssi-otr/irssi-otr-${pkgver}.tar.bz2
+ 4ad3b7b.patch)
+sha512sums=('f7a2b04a1bd43b2436abe3592d8110acbe719575e295e789fd7ad92c87d4dbd99155439a6b1da349a3f86418a451fba2bfb1b085915e85688b5e214c1e9de0e2'
+ '8afaba9c59cff7f8043d559e2617df2f5f415a1a0e19f9b0c002433e246845502336b42034ef8a7e5c01f205c432eed26592bac763d5a7d3ad6e92526bd346ed')
prepare() {
cd ${pkgname}-${pkgver}
+ patch -Np1 -i "$srcdir/4ad3b7b.patch"
autoreconf -fiv
}