summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhashworks2020-06-06 20:35:11 +0200
committerhashworks2020-06-06 20:35:11 +0200
commit91297a57f15bc5fa72a03dd7d0bf0bd320355756 (patch)
treeb8be364bd31a3dc52c39511dd7d2e63e6a350efb
parentd33d9d8109357a097ead27aee1e0c7fb64317ae5 (diff)
downloadaur-91297a57f15bc5fa72a03dd7d0bf0bd320355756.tar.gz
PKGBUILD improvements
- url in source=() needs proper quoting - don't let the release pkgbuild conflict with the vcs (git) pkgbuild, it should conflict the other way around
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 2 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 341895944d28..12147309f35b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,8 +10,6 @@ pkgbase = prismatik
depends = libxkbcommon-x11
provides = lightpack
provides = prismatik
- conflicts = prismatik-git
- conflicts = prismatik-psieg-git
conflicts = prismatik-psieg
source = https://github.com/woodenshark/Lightpack/releases/download/5.11.2/prismatik_5.11.2_amd64.deb
sha256sums = a97f88a9eec9f91b076d2f6b6117b03470fff71e9b18fe595ebe377220871c6f
diff --git a/PKGBUILD b/PKGBUILD
index d69e4e1da56c..8e8e4f9a17ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,9 +9,9 @@ url="https://github.com/woodenshark/Lightpack"
license=('GPL3')
depends=('qt5-serialport' 'libxkbcommon-x11')
provides=('lightpack' 'prismatik')
-conflicts=('prismatik-git' 'prismatik-psieg-git' 'prismatik-psieg')
+conflicts=('prismatik-psieg')
install=prismatik.install
-source=(https://github.com/woodenshark/Lightpack/releases/download/${pkgver}/prismatik_${pkgver}_amd64.deb)
+source=("${url}/releases/download/${pkgver}/prismatik_${pkgver}_amd64.deb")
sha256sums=('a97f88a9eec9f91b076d2f6b6117b03470fff71e9b18fe595ebe377220871c6f')
package() {