summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 18 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dbda981d8ec..1b7d276a3c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,31 @@
+# Maintainer: Luis Martinez <luis dot martinez at tuta dot io>
# Maintainer: Aetf <aetf at unlimitedcodeworks dot xyz>
+
pkgname=wey-bin
-provides=(wey)
-conflicts=(wey)
-pkgver=0.3.6
+pkgver=0.3.7
pkgrel=1
pkgdesc="Fast open source Slack desktop app"
-arch=(x86_64)
+arch=('x86_64')
url="https://github.com/yue/wey"
license=('MIT')
-depends=(webkit2gtk)
-optdepends=(
- 'libappindicator-gtk3: for tray icon'
-)
-source=(
- "https://github.com/yue/wey/releases/download/v${pkgver}/wey-v${pkgver}-linux-x64.zip"
- 'wey.desktop'
-)
-sha256sums=('84e4e17ac666b2e2ea78f5b0439aab44f1c63b9ec63fe08e29b258e3f94c3e6b'
+depends=('webkit2gtk')
+optdepends=('libappindicator-gtk3: for tray icon')
+provides=('wey')
+conflicts=('wey')
+install=wey.install
+source=("$pkgname-$pkgver.zip::$url/releases/download/v${pkgver}/wey-v${pkgver}-linux-x64.zip"
+ 'wey.desktop')
+sha256sums=('f097b3b6f07e13445ffb8833a1754b5b43f6dd53b257a7bb8226a837ac30f77c'
'83d1990554d42aac8a10c456627ce7c41021737e42a3e144aad8ee17ea01be1f')
options=(!strip)
package() {
- install -d "$pkgdir/opt/wey/res"
- find "res" -type f -exec install -Dm644 -T '{}' "$pkgdir"/opt/wey/'{}' \;
+ find res -type f -exec install -Dm644 -T '{}' "$pkgdir/opt/wey/{}" \;
+ install -Dm755 wey -t "$pkgdir/opt/wey/"
- install -Dm755 "$srcdir/wey" "$pkgdir/opt/wey/wey"
- install -d "$pkgdir/usr/bin"
- ln -s /opt/wey/wey "$pkgdir/usr/bin"
+ install -d "$pkgdir/usr/bin/"
+ ln -s /opt/wey/wey "$pkgdir/usr/bin/"
- install -Dm644 "$srcdir/wey.desktop" "$pkgdir/usr/share/applications/wey.desktop"
- install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 wey.desktop -t "$pkgdir/usr/share/applications/"
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}