summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-08-11 12:18:01 +0800
committerzxp198210052023-08-11 12:18:01 +0800
commit37e91f2b321b6b78457688d587c3dc0903c0cb25 (patch)
treee6cae20a3cccd5d46ddc7041d645e8b50131b1c3
parent5fd956f20d36280bca9a32975918fc18ce392d36 (diff)
downloadaur-37e91f2b321b6b78457688d587c3dc0903c0cb25.tar.gz
fix errors
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d28d3ef096ed..b102626b226d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = distributionz-bin
pkgdesc = A simple tool to distribute Employees
pkgver = 1.1.4
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/TheDome/DistributionZ
arch = x86_64
license = Apache
depends = bash
depends = electron22
depends = hicolor-icon-theme
- provides = distributionz
+ provides = distributionz=1.1.4
conflicts = distributionz
source = distributionz-1.1.4.AppImage::https://github.com/TheDome/DistributionZ/releases/download/1.1.4/DistributionZ-1.1.4.AppImage
source = distributionz.sh
diff --git a/PKGBUILD b/PKGBUILD
index 202cbe7e86db..dd480bfd82d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
-pkgname="distributionz-bin"
+pkgname=distributionz-bin
+_appname=DistributionZ
pkgver=1.1.4
-pkgrel=3
+pkgrel=4
pkgdesc="A simple tool to distribute Employees"
arch=('x86_64')
url="https://github.com/TheDome/DistributionZ"
license=('Apache')
-provides=("${pkgname%-bin}")
+provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=('bash' 'electron22' 'hicolor-icon-theme')
-source=("${pkgname%-bin}-${pkgver}.AppImage::${url}/releases/download/${pkgver}/DistributionZ-${pkgver}.AppImage"
+source=("${pkgname%-bin}-${pkgver}.AppImage::${url}/releases/download/${pkgver}/${_appname}-${pkgver}.AppImage"
"${pkgname%-bin}.sh")
sha256sums=('657fc8ffdd9ed3e828a09e5498a7e01468e4e6bea36f3cde7525b53d5ea483a9'
'a9d6c0f646105815c1010e28a31c454a33b064c9f3d53c5c82e5e4db6bb066a9')