summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarol Babioch2016-09-20 18:33:23 +0200
committerKarol Babioch2016-09-20 18:33:23 +0200
commit71757d567ec307a656290c3a15c2504d4824740a (patch)
treecc508c504f9b8c5cfbfa329708add1d185843cfa
parentc32fa8311bc8f7b59d539ce53a42e9307a2370a8 (diff)
downloadaur-71757d567ec307a656290c3a15c2504d4824740a.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 6954afeba9d2..d695252a7639 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = brother-ql700
pkgdesc = LPR and CUPS driver for Brother QL-700 label printer
- pkgver = 1.0.2
- pkgrel = 0
+ pkgver = 1.0.2r0
+ pkgrel = 1
url = http://solutions.brother.com/linux/en_us/
install = brother-ql700.install
arch = i686
@@ -9,6 +9,10 @@ pkgbase = brother-ql700
license = custom
depends = cups
depends = lib32-glibc
+ provides = brother-ql700-cupswrapper
+ provides = brother-ql700-lpr
+ conflicts = brother-ql700-cupswrapper
+ conflicts = brother-ql700-lpr
source = http://download.brother.com/welcome/dlfp002191/ql700lpr-1.0.2-0.i386.rpm
source = http://download.brother.com/welcome/dlfp002193/ql700cupswrapper-1.0.2-0.i386.rpm
source = LICENSE
diff --git a/PKGBUILD b/PKGBUILD
index ffee2cb00f87..170a4ae1f802 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Inspired by package brother-dcp130c
pkgname='brother-ql700'
-pkgver=1.0.2
-pkgrel=0
+pkgver=1.0.2r0
+pkgrel=1
pkgdesc='LPR and CUPS driver for Brother QL-700 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
+provides=('brother-ql700-cupswrapper' 'brother-ql700-lpr')
+conflicts=('brother-ql700-cupswrapper' 'brother-ql700-lpr')
install="$pkgname.install"
-source=("http://download.brother.com/welcome/dlfp002191/ql700lpr-$pkgver-$pkgrel.i386.rpm"
- "http://download.brother.com/welcome/dlfp002193/ql700cupswrapper-$pkgver-$pkgrel.i386.rpm"
+source=("http://download.brother.com/welcome/dlfp002191/ql700lpr-${pkgver/r/-}.i386.rpm"
+ "http://download.brother.com/welcome/dlfp002193/ql700cupswrapper-${pkgver/r/-}.i386.rpm"
'LICENSE')
sha256sums=('54f6573cedca9e467c339e3c2e47615cca4c0cef052dc3b92ece551611dd73b1'
'1629d0c35eca5796aa12780edf5bdf80cb0a524f17968b34ffddee52184aed7e'