summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Tokić2020-04-09 22:44:54 +0200
committerMiodrag Tokić2020-04-09 22:46:18 +0200
commitd5940dd8b182fa534dae6a3f16de1c816fc10e85 (patch)
treebfa4ccf5483202e098b9ae747e4925e9a678d029
parent6ba94920e5c6e8a5b7f0f215b64dc53a70799d9d (diff)
downloadaur-d5940dd8b182fa534dae6a3f16de1c816fc10e85.tar.gz
Change the system application name to "go-for-it"
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
-rw-r--r--go-for-it.install8
3 files changed, 13 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a3535bb51f1..cac3a5764b46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = go-for-it
pkgdesc = A stylish to-do list with built-in productivity timer.
pkgver = 1.7.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mank319/Go-For-It
+ install = go-for-it.install
arch = i686
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 5561ddf75855..39c4d2feed63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=go-for-it
pkgver=1.7.3
-pkgrel=1
+pkgrel=2
pkgdesc='A stylish to-do list with built-in productivity timer.'
arch=('i686' 'x86_64')
url='https://github.com/mank319/Go-For-It'
@@ -12,6 +12,7 @@ license=('GPL3')
depends=('gtk3' 'libnotify')
makedepends=('vala' 'cmake' 'intltool')
conflicts=('go-for-it-git')
+install='go-for-it.install'
source=("$pkgname-$pkgver.tar.gz::https://github.com/mank319/Go-For-It/archive/${pkgver}.tar.gz")
sha256sums=('582ec27876dbfdab71c5fc681a74c3e4f5a4d0d73cd634a0c5db64e5c4c51ea7')
@@ -23,7 +24,7 @@ build() {
fi
mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DAPP_SYSTEM_NAME:STRING=go-for-it ..
make
make pot
make po
diff --git a/go-for-it.install b/go-for-it.install
new file mode 100644
index 000000000000..ebc2043f48ec
--- /dev/null
+++ b/go-for-it.install
@@ -0,0 +1,8 @@
+post_upgrade() {
+ echo '>>> WARNING: Manual intervention required.'
+ echo '>>> As of version 1.7.3-2 the application system name changed'
+ echo '>>> from "com.github.jmoerman.go-for-it" to "go-for-it".'
+ echo '>>> This will affect application shortcut and config directory'
+ echo '>>> that might need adjustment. For example, rename'
+ echo '>>> "~/.config/com.github.jmoerman.go-for-it" to "~/.config/go-for-it".'
+}