diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 19 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = i2pd pkgdesc = Simplified C++ implementation of I2P client pkgver = 2.18.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/PurpleI2P/i2pd install = i2pd.install arch = i686 @@ -18,7 +18,11 @@ pkgbase = i2pd backup = etc/i2pd/i2pd.conf backup = etc/i2pd/tunnels.conf source = https://github.com/PurpleI2P/i2pd/archive/2.18.0.tar.gz + source = https://github.com/PurpleI2P/i2pd/commit/4af0caa50639c9c080034b2ea8239eb7e06f0ba3.patch + source = https://github.com/PurpleI2P/i2pd/commit/21c35f770b26ebf00f94365769bab74753fa06d1.patch md5sums = 02a8aaa11d97d7ebd1bf600acba1cf1b + md5sums = c1755b808a6a2fc528172523c2f02a68 + md5sums = 3d39e1a51bb13d05696ccaac36afeb9e pkgname = i2pd @@ -3,17 +3,21 @@ # Contributor: redfish # Contributor: atommixz # Contributor: denn +# Contributor: post-factum pkgname=i2pd pkgver=2.18.0 -pkgrel=1 +pkgrel=2 pkgdesc="Simplified C++ implementation of I2P client" arch=('i686' 'x86_64' 'armv7h') url="https://github.com/PurpleI2P/$pkgname" license=('BSD') depends=('boost-libs' 'miniupnpc' 'openssl' 'zlib') makedepends=('boost' 'cmake') -source=(https://github.com/PurpleI2P/${pkgname}/archive/${pkgver}.tar.gz) +source=(https://github.com/PurpleI2P/${pkgname}/archive/${pkgver}.tar.gz + https://github.com/PurpleI2P/i2pd/commit/4af0caa50639c9c080034b2ea8239eb7e06f0ba3.patch + https://github.com/PurpleI2P/i2pd/commit/21c35f770b26ebf00f94365769bab74753fa06d1.patch +) install=$pkgname.install backup=(etc/$pkgname/$pkgname.conf etc/$pkgname/tunnels.conf) @@ -21,6 +25,11 @@ conflicts=("$pkgname-git") build() { cd $srcdir/$pkgname-$pkgver + + # GCC 8 fixes + patch -Np1 -i ../21c35f770b26ebf00f94365769bab74753fa06d1.patch + patch -Np1 -i ../4af0caa50639c9c080034b2ea8239eb7e06f0ba3.patch + cd build cmake . -DCMAKE_CXX_FLAGS="-w" \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -71,4 +80,6 @@ package(){ chmod -R o= $pkgdir/${_home_dest} } -md5sums=('02a8aaa11d97d7ebd1bf600acba1cf1b') +md5sums=('02a8aaa11d97d7ebd1bf600acba1cf1b' + 'c1755b808a6a2fc528172523c2f02a68' + '3d39e1a51bb13d05696ccaac36afeb9e') |