summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Arnott2018-02-28 04:05:33 +0000
committerColin Arnott2018-02-28 04:05:33 +0000
commit5da16b4294e5ca81bac1e9604a31bccad03e413f (patch)
treebfdbfff3dcff6db52950017e8131e945c743ce7b
parent05d01e24fb6ef196e68e6c8052962fd611a5333f (diff)
downloadaur-5da16b4294e5ca81bac1e9604a31bccad03e413f.tar.gz
bump to v4
-rw-r--r--.SRCINFO10
-rw-r--r--0001-Add-missing-include-string.patch24
-rw-r--r--PKGBUILD15
3 files changed, 7 insertions, 42 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d4ef5d68c76..b2217736960 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,13 @@
-# Generated by mksrcinfo v8
-# Sun Dec 10 03:28:31 UTC 2017
pkgbase = brlaser
pkgdesc = CUPS driver for the Brother DCP-7065DN
- pkgver = 3
+ pkgver = 4
pkgrel = 1
url = https://github.com/pdewacht/brlaser
arch = x86_64
license = GPL2
depends = cups
- source = https://github.com/pdewacht/brlaser/archive/v3.tar.gz
- source = 0001-Add-missing-include-string.patch
- sha512sums = 79c4709e0db48fc4b359297f44c2ad35633e65210fdb941aea7a9a613de4d341319aaa7e72748f7ed821400c564b9a5c63677692103130e3a6ec5ff938e0cccf
- sha512sums = 51f21653433adf2ba564aaee4fdda4c99132e8ffa802562f282d75a7d3d2ab61ff0a9b574164ba7e67b739595836960836668fe618b3961d0ea83dcf09536cc0
+ source = https://github.com/pdewacht/brlaser/archive/v4.tar.gz
+ sha512sums = 1e08091adc371a35f75c245fd86f132aae7811a00bd7e9d194c47038dc9aa29296fbf8769cef6b8ea42d82467857195ba8024a9d6de8048174ecc44e0bb76067
pkgname = brlaser
diff --git a/0001-Add-missing-include-string.patch b/0001-Add-missing-include-string.patch
deleted file mode 100644
index d529fd7fb00..00000000000
--- a/0001-Add-missing-include-string.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 93138fec87290ffbdd4919f313ea513eadca749c Mon Sep 17 00:00:00 2001
-From: Peter Spiess-Knafl <dev@spiessknafl.at>
-Date: Mon, 25 Apr 2016 15:02:37 +0200
-Subject: [PATCH] Add missing #include <string>
-
----
- src/brdecode.cc | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/brdecode.cc b/src/brdecode.cc
-index d5c4c0d..bcd3ec7 100644
---- a/src/brdecode.cc
-+++ b/src/brdecode.cc
-@@ -21,6 +21,7 @@
- #include <algorithm>
- #include <exception>
- #include <vector>
-+#include <string>
-
- namespace {
-
---
-2.15.1
-
diff --git a/PKGBUILD b/PKGBUILD
index 3ab46e3127f..db6c2751fbc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,18 @@
# Maintainer: Colin Arnott <colin@urandom.co.uk>
pkgname="brlaser"
-pkgver=3
+pkgver=4
pkgrel=1
pkgdesc="CUPS driver for the Brother DCP-7065DN"
arch=('x86_64')
url="https://github.com/pdewacht/brlaser"
license=('GPL2')
depends=('cups')
-source=("https://github.com/pdewacht/${pkgname}/archive/v${pkgver}.tar.gz" "0001-Add-missing-include-string.patch")
-sha512sums=('79c4709e0db48fc4b359297f44c2ad35633e65210fdb941aea7a9a613de4d341319aaa7e72748f7ed821400c564b9a5c63677692103130e3a6ec5ff938e0cccf' '51f21653433adf2ba564aaee4fdda4c99132e8ffa802562f282d75a7d3d2ab61ff0a9b574164ba7e67b739595836960836668fe618b3961d0ea83dcf09536cc0')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- patch -p1 < $srcdir/${source[1]}
-}
+source=("https://github.com/pdewacht/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('1e08091adc371a35f75c245fd86f132aae7811a00bd7e9d194c47038dc9aa29296fbf8769cef6b8ea42d82467857195ba8024a9d6de8048174ecc44e0bb76067')
build() {
cd "${pkgname}-${pkgver}"
- ./autogen.sh
- ./configure --prefix=/usr
- make
+ cmake .
}
check() {