summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarol Babioch2016-09-20 18:35:02 +0200
committerKarol Babioch2016-09-20 18:35:02 +0200
commit8548ba2aa452461733024f044ad76ec1114f750d (patch)
tree879afe7f2d08c7b2d3ed1c338145409275668429
parent52c6ec6abda86af53da2882490fe147cc6c8d233 (diff)
downloadaur-brother-ql570.tar.gz
Change versioning scheme and add provides and conflicts
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02219fa3f75..e51c11d98f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = brother-ql570
pkgdesc = LPR and CUPS driver for Brother QL-570 label printer
- pkgver = 1.0.1
- pkgrel = 0
+ pkgver = 1.0.1r0
+ pkgrel = 1
url = http://solutions.brother.com/linux/en_us/
install = brother-ql570.install
arch = i686
@@ -9,6 +9,10 @@ pkgbase = brother-ql570
license = custom
depends = cups
depends = lib32-glibc
+ provides = brother-ql570-cupswrapper
+ provides = brother-ql570-lpr
+ conflicts = brother-ql570-cupswrapper
+ conflicts = brother-ql570-lpr
source = http://download.brother.com/welcome/dlfp002173/ql570lpr-1.0.1-0.i386.rpm
source = http://download.brother.com/welcome/dlfp002175/ql570cupswrapper-1.0.1-0.i386.rpm
source = LICENSE
diff --git a/PKGBUILD b/PKGBUILD
index 4653d0f4005..6896a9ef208 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Inspired by package brother-dcp130c
pkgname='brother-ql570'
-pkgver=1.0.1
-pkgrel=0
+pkgver=1.0.1r0
+pkgrel=1
pkgdesc='LPR and CUPS driver for Brother QL-570 label printer'
url='http://solutions.brother.com/linux/en_us/'
arch=('i686' 'x86_64')
@@ -12,9 +12,11 @@ depends='cups'
if [ "$CARCH" = 'x86_64' ]; then
depends+=('lib32-glibc')
fi
+conflicts=('brother-ql570-cupswrapper' 'brother-ql570-lpr')
+provides=('brother-ql570-cupswrapper' 'brother-ql570-lpr')
install="$pkgname.install"
-source=("http://download.brother.com/welcome/dlfp002173/ql570lpr-$pkgver-$pkgrel.i386.rpm"
- "http://download.brother.com/welcome/dlfp002175/ql570cupswrapper-$pkgver-$pkgrel.i386.rpm"
+source=("http://download.brother.com/welcome/dlfp002173/ql570lpr-${pkgver/r/-}.i386.rpm"
+ "http://download.brother.com/welcome/dlfp002175/ql570cupswrapper-${pkgver/r/-}.i386.rpm"
'LICENSE')
sha256sums=('b6a555a901358a43dd73465afed3865f42086231b43e1ff59252a633c612aef8'
'c5aa368114608f029688847ee2a21be6e20a9b3f272f543cbcede875c62e56b6'