mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 12:41:55 +01:00
Updated to version 1.0.6
This commit is contained in:
parent
feac61224d
commit
96b547b5dd
3 changed files with 28 additions and 7 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = session-desktop
|
||||
pkgdesc = Private messaging from your desktop
|
||||
pkgver = 1.0.5
|
||||
pkgrel = 3
|
||||
pkgver = 1.0.6
|
||||
pkgrel = 1
|
||||
url = https://getsession.org
|
||||
install = session-desktop.install
|
||||
arch = x86_64
|
||||
|
|
@ -23,8 +23,10 @@ pkgbase = session-desktop
|
|||
options = !strip
|
||||
source = git+https://github.com/loki-project/session-desktop.git
|
||||
source = session-desktop.desktop
|
||||
source = patch.diff.example
|
||||
sha256sums = SKIP
|
||||
sha256sums = 931e317b69e5c5ed3ef1f2ff0c82bf72b8706ab5ac50ad0564f3f164d7d5f7b8
|
||||
sha256sums = 327e29f1c2e52dfa285545d1459ea92651cb6c23c4f4a7b897e9f4382802021a
|
||||
|
||||
pkgname = session-desktop
|
||||
|
||||
|
|
|
|||
16
PKGBUILD
16
PKGBUILD
|
|
@ -1,7 +1,8 @@
|
|||
# Maintainer: xXR01I1Xx <xxr01i1xx@tuta.io>
|
||||
pkgname=session-desktop
|
||||
pkgver=1.0.5
|
||||
pkgrel=3
|
||||
pkgver=1.0.6
|
||||
pkgrel=1
|
||||
_commit=6438698
|
||||
pkgdesc="Private messaging from your desktop"
|
||||
arch=(x86_64)
|
||||
url="https://getsession.org"
|
||||
|
|
@ -14,13 +15,18 @@ conflicts=(session-desktop-bin session-desktop-git session-desktop-appimage)
|
|||
options=(!strip)
|
||||
install=$pkgname.install
|
||||
source=('git+https://github.com/loki-project/session-desktop.git'
|
||||
'session-desktop.desktop')
|
||||
'session-desktop.desktop'
|
||||
'patch.diff.example')
|
||||
sha256sums=('SKIP'
|
||||
'931e317b69e5c5ed3ef1f2ff0c82bf72b8706ab5ac50ad0564f3f164d7d5f7b8')
|
||||
'931e317b69e5c5ed3ef1f2ff0c82bf72b8706ab5ac50ad0564f3f164d7d5f7b8'
|
||||
'327e29f1c2e52dfa285545d1459ea92651cb6c23c4f4a7b897e9f4382802021a')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/session-desktop
|
||||
git checkout 0188252
|
||||
git checkout $_commit
|
||||
echo "Applying patch"
|
||||
sed "s/ver_placeholder/$pkgver/g" $srcdir/patch.diff.example > $srcdir/patch.diff
|
||||
git apply $srcdir/patch.diff
|
||||
source /usr/share/nvm/init-nvm.sh && nvm install 10.13.0
|
||||
}
|
||||
|
||||
|
|
|
|||
13
patch.diff.example
Normal file
13
patch.diff.example
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/package.json b/package.json
|
||||
index d05625c7..128028f8 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "session-messenger-desktop",
|
||||
"productName": "Session",
|
||||
"description": "Private messaging from your desktop",
|
||||
- "version": "1.0.5",
|
||||
+ "version": "ver_placeholder",
|
||||
"license": "GPL-3.0",
|
||||
"author": {
|
||||
"name": "Loki Project",
|
||||
Loading…
Add table
Reference in a new issue