[skip-ci] quassel: update to 0.13.0, switch to pacman hooks (#73)

This commit is contained in:
Francesco Marinucci 2018-12-05 14:45:13 +01:00
parent 59c7fe486c
commit 7e5b7f6216
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,5 @@
pkgname=quassel
pkgver=0.12.5
pkgver=0.13.0
pkgrel=1
pkgdesc="Next-generation distributed IRC client"
arch=('x86_64')
@ -15,7 +15,7 @@ source=("https://quassel-irc.org/pub/quassel-${pkgver}.tar.bz2"
'quassel.conf')
install=quassel.install
backup=(etc/conf.d/quassel.conf)
sha1sums=('ad30d49ab670ba8927e0e0caa8ac36b29f08bd0d'
sha1sums=('e53400ad93b94ded5f04c74e21df72ec576795df'
'40b801ad664e9e0f0d5f1260f7545b6842dd11e8'
'575d09f165f12ba35e560be54c8e1cd92321bb4b')

View File

@ -1,7 +1,13 @@
post_install() {
useradd -r -s /bin/sh -d /var/lib/quassel quassel
mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
echo "Please be aware that both the database schema and the config file formats have been updated since 0.12. Quassel will automatically upgrade both once the
new version is started for the first time, however NO ROLLBACK IS POSSIBLE, so do make a backup before starting the new version! The upgrade may take a long
time (up to several hours) if your database is (un)reasonably large, during which the core or mono client cannot be used. The upgrade may also temporarily
require up to double the disk space. Do not interrupt the upgrade process, otherwise your database may become corrupted!"
}
pre_remove() {