summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarol Babioch2016-09-20 18:29:23 +0200
committerKarol Babioch2016-09-20 18:29:23 +0200
commita5fcbc30dd1e20aa28f70940f52796a9ee12b144 (patch)
tree6d8ffc3b4bce085e72c00a1bdc19e5538985cd3e
parentffc3c0cea37a57d7a9af42b2aac7b24188b9aba0 (diff)
downloadaur-brother-ql500.tar.gz
Add provides and replaces
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
2 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5abf1886360..40b1f81573f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = brother-ql500
pkgdesc = LPR and CUPS driver for Brother QL-500 label printer
pkgver = 1.0.1r0
- pkgrel = 2
+ pkgrel = 3
url = http://solutions.brother.com/linux/en_us/
install = brother-ql500.install
arch = i686
@@ -9,6 +9,12 @@ pkgbase = brother-ql500
license = custom
depends = cups
depends = lib32-glibc
+ provides = brother-ql500-cupswrapper
+ provides = brother-ql500-cupswrapperinch
+ provides = brother-ql500-lpr
+ conflicts = brother-ql500-cupswrapper
+ conflicts = brother-ql500-cupswrapperinch
+ conflicts = brother-ql500-lpr
source = http://download.brother.com/welcome/dlfp002167/ql550lpr-1.0.1-0.i386.rpm
source = http://download.brother.com/welcome/dlfp002169/ql550cupswrapper-1.0.1-0.i386.rpm
source = LICENSE
diff --git a/PKGBUILD b/PKGBUILD
index 16e83e5f78ff..0f4852ff80a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='brother-ql500'
pkgver=1.0.1r0
-pkgrel=2
+pkgrel=3
pkgdesc='LPR and CUPS driver for Brother QL-500 label printer'
url='http://solutions.brother.com/linux/en_us/'
arch=('i686' 'x86_64')
@@ -12,6 +12,8 @@ depends=('cups')
if [ "$CARCH" = 'x86_64' ]; then
depends+=('lib32-glibc')
fi
+conflicts=('brother-ql500-cupswrapper' 'brother-ql500-cupswrapperinch' 'brother-ql500-lpr')
+provides=('brother-ql500-cupswrapper' 'brother-ql500-cupswrapperinch' 'brother-ql500-lpr')
install="$pkgname.install"
source=("http://download.brother.com/welcome/dlfp002167/ql550lpr-${pkgver/r/-}.i386.rpm"
"http://download.brother.com/welcome/dlfp002169/ql550cupswrapper-${pkgver/r/-}.i386.rpm"