summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 32c9ef2dbfd7..bb2d743a23a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
-# Maintainer: Ben <ben@ported.pw>
+# Maintainer: xunhua.guo <xunhua.guo@gmail.com>
+# Contributor: Ben <ben@ported.pw>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: royrocks <royrocks13@gmail.com>
pkgname=cups-bjnp
-pkgver=2.0.1
-pkgrel=2
+pkgver=2.0.2
+pkgrel=1
pkgdesc='CUPS back-end for the canon printers using the proprietary USB over IP BJNP protocol'
arch=('i686' 'x86_64')
url='http://sourceforge.net/projects/cups-bjnp/'
@@ -12,13 +13,13 @@ license=('GPL')
depends=('libcups')
makedepends=('cups')
source=("http://downloads.sourceforge.net/sourceforge/cups-bjnp/cups-bjnp-${pkgver}.tar.gz")
-sha256sums=('95b5940daf6ee46120efef9c05048ade9bb855de36280c140895f9672b2946c0')
+sha256sums=('586a8e0b2e92d41e85e981a16e3015a240f11a02b1bbbd0b92cd45620f411b0e')
build() {
cd cups-bjnp-${pkgver}
# Patch for https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Warning-Options.html#index-Wstringop_002dtruncation
- sed -i 's/strncpy/memcpy/' bjnp-commands.c
+ # sed -i 's/strncpy/memcpy/' bjnp-commands.c
./configure --prefix='/usr'
make