summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Poulin2018-02-04 18:41:15 -0500
committerMaxime Poulin2018-02-04 18:41:15 -0500
commit14959bb10a266878966b954fe6388c6b5b85f0f1 (patch)
treed3991549da2b4f724438a17b7672189c5ef153ca
parentd9730a989ba6606631a7fec5fbe6aec2b2067bd3 (diff)
downloadaur-14959bb10a266878966b954fe6388c6b5b85f0f1.tar.gz
Update to 2.7.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD6
-rw-r--r--system.service3
3 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9641d82c2cd..f3c6ae174a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Mon Nov 27 05:23:03 UTC 2017
pkgbase = thelounge
pkgdesc = Web-based IRC client - Official community fork of Shout
- pkgver = 2.6.0
+ pkgver = 2.7.0
pkgrel = 1
url = https://thelounge.github.io/
install = install
@@ -10,12 +8,12 @@ pkgbase = thelounge
license = MIT
makedepends = npm
depends = nodejs
- noextract = thelounge-2.6.0.tgz
+ noextract = thelounge-2.7.0.tgz
backup = etc/thelounge/config.js
- source = http://registry.npmjs.org/thelounge/-/thelounge-2.6.0.tgz
+ source = http://registry.npmjs.org/thelounge/-/thelounge-2.7.0.tgz
source = system.service
source = user.service
- sha256sums = 411428dca62edb956623fbaac1db3233653810e90df8ad4df8f2fdd91656121d
+ sha256sums = 3dfe65a716fd23436d7d711b33ad6d89e1aa649fd696cfdef36fdfa5862cb2cc
sha256sums = SKIP
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index eae986f0a64..3335a020966 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Maxime Poulin <maxpoulin64@gmail.com>
pkgname='thelounge'
_npmname='thelounge'
-pkgver=2.6.0
+pkgver=2.7.0
pkgrel=1
pkgdesc="Web-based IRC client - Official community fork of Shout"
url='https://thelounge.github.io/'
@@ -18,7 +18,7 @@ source=(
)
noextract=("$_npmname-$pkgver.tgz")
sha256sums=(
- '411428dca62edb956623fbaac1db3233653810e90df8ad4df8f2fdd91656121d'
+ '3dfe65a716fd23436d7d711b33ad6d89e1aa649fd696cfdef36fdfa5862cb2cc'
'SKIP'
'SKIP'
)
@@ -29,7 +29,7 @@ package() {
npm install -g --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
- echo "/etc/lounge" > "$pkgdir/usr/lib/node_modules/$_npmname/.lounge_home"
+ echo "/etc/thelounge" > "$pkgdir/usr/lib/node_modules/$_npmname/.lounge_home"
install -dm700 "$_etc" "$_etc/users"
install -Dm600 \
diff --git a/system.service b/system.service
index 3c189c005f2..3f019ffe9a4 100644
--- a/system.service
+++ b/system.service
@@ -6,7 +6,8 @@ After=network.target
User=thelounge
Group=thelounge
Type=simple
-ExecStart=/usr/bin/lounge --home /etc/thelounge start
+Environment=THELOUNGE_HOME=/etc/thelounge
+ExecStart=/usr/bin/lounge start
ProtectSystem=yes
ProtectHome=yes
NoNewPrivileges=yes