summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarol Babioch2016-09-20 18:21:44 +0200
committerKarol Babioch2016-09-20 18:21:46 +0200
commitffc3c0cea37a57d7a9af42b2aac7b24188b9aba0 (patch)
tree5603efe2db4cff8fe38c5a042906d3d40cb23aca
parentd788ceff9e7c52b402a29735b32d9829e4759f54 (diff)
downloadaur-ffc3c0cea37a57d7a9af42b2aac7b24188b9aba0.tar.gz
Use pkgver in source array
This relaces the r in the pkgver with a dash and uses it within the source array, so version bumps can be made more easily.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d88c007becd..c5abf188636 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 = 1
+ pkgrel = 2
url = http://solutions.brother.com/linux/en_us/
install = brother-ql500.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 9a97b46de5a..16e83e5f78f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='brother-ql500'
pkgver=1.0.1r0
-pkgrel=1
+pkgrel=2
pkgdesc='LPR and CUPS driver for Brother QL-500 label printer'
url='http://solutions.brother.com/linux/en_us/'
arch=('i686' 'x86_64')
@@ -13,8 +13,8 @@ if [ "$CARCH" = 'x86_64' ]; then
depends+=('lib32-glibc')
fi
install="$pkgname.install"
-source=("http://download.brother.com/welcome/dlfp002167/ql550lpr-1.0.1-0.i386.rpm"
- "http://download.brother.com/welcome/dlfp002169/ql550cupswrapper-1.0.1-0.i386.rpm"
+source=("http://download.brother.com/welcome/dlfp002167/ql550lpr-${pkgver/r/-}.i386.rpm"
+ "http://download.brother.com/welcome/dlfp002169/ql550cupswrapper-${pkgver/r/-}.i386.rpm"
'LICENSE')
sha256sums=('83f622668f70785887f2645352a4634e649761fbf8f83dad9bb991ed6e2534e5'
'a1ee42684b3d882fb786bfc5bcaec450a8c5e29f0750999b5b7d7e594be5986f'