summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Isenhart2019-10-09 09:37:12 -0400
committerBen Isenhart2019-10-09 09:37:12 -0400
commit2da07a7f1715470be283c6818c46683abea09784 (patch)
tree4125d50ca91bc438eaf7d493cda5e23adaaa2d23
parent43f61c427d92344c7c1fc4889b4b693be535aedb (diff)
downloadaur-2da07a7f1715470be283c6818c46683abea09784.tar.gz
change naming of slack-4 to be release-specific
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9ef0f3007d7c..7f5f3d3797cb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = slack-desktop-dark
pkgdesc = Slack Desktop (Beta) for Linux, with dark theme patch
pkgver = 4.0.2
- pkgrel = 3
+ pkgrel = 4
url = https://slack.com/downloads
arch = x86_64
license = custom
@@ -21,7 +21,7 @@ pkgbase = slack-desktop-dark
conflicts = slack-desktop
noextract = slack-desktop-4.0.2-amd64.deb
source = https://downloads.slack-edge.com/linux_releases/slack-desktop-4.0.2-amd64.deb
- source = https://raw.githubusercontent.com/caiceA/slack-raw/b1c2c4d/slack-4
+ source = slack-4-4.0.2-4::https://raw.githubusercontent.com/caiceA/slack-raw/b1c2c4d/slack-4
source = darkify_slack.js
source = slack-desktop-dark.patch
sha256sums = 75c26004ae56bbb944d4b97347b00bb28ff4042d10666490e7974613fc2d7214
diff --git a/PKGBUILD b/PKGBUILD
index 89e4e593cc28..1e74bf8616b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=slack-desktop-dark
pkgver=4.0.2
-pkgrel=3
+pkgrel=4
pkgdesc="Slack Desktop (Beta) for Linux, with dark theme patch"
arch=('x86_64')
url="https://slack.com/downloads"
@@ -17,7 +17,7 @@ makedepends=('asar')
optdepends=('gnome-keyring')
conflicts=('slack-desktop')
source=("https://downloads.slack-edge.com/linux_releases/${pkgname%-dark}-${pkgver}-amd64.deb"
- "https://raw.githubusercontent.com/caiceA/slack-raw/b1c2c4d/slack-4"
+ "slack-4-${pkgver}-${pkgrel}::https://raw.githubusercontent.com/caiceA/slack-raw/b1c2c4d/slack-4"
"darkify_slack.js"
"${pkgname}.patch")
noextract=("${pkgname%-dark}-${pkgver}-amd64.deb")
@@ -53,8 +53,8 @@ package() {
# of our function from being commented out
echo "" >> $file
head -n $((lineno - 1)) darkify_slack.js >> $file
- sed -i -e '/\\E/d' -e 's/939393/ffffff/' slack-4
- cat slack-4 >> $file
+ sed -i -e '/\\E/d' -e 's/939393/ffffff/' slack-4-${pkgver}-${pkgrel}
+ cat slack-4-${pkgver}-${pkgrel} >> $file
tail -n +$((lineno + 1)) darkify_slack.js >> $file
# Repack with the theme change