summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfunilrys2018-10-09 21:47:50 +0200
committerfunilrys2018-10-09 21:47:50 +0200
commit820fbd6d48ee9a5ef4f7058890c50afb0d3db6e5 (patch)
tree386857cffc5bb0ea706b42a7485062d104c8b1d6
parent41a719f3ebec2d6b863bcf856cf3bc01830fe86f (diff)
downloadaur-820fbd6d48ee9a5ef4f7058890c50afb0d3db6e5.tar.gz
Introduction of an information
-rwxr-xr-x.SRCINFO3
-rwxr-xr-xPKGBUILD12
-rw-r--r--laverna.install23
3 files changed, 35 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9267e995c68..e355891513b9 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = laverna
pkgdesc = Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
pkgver = 0.7.51
- pkgrel = 10
+ pkgrel = 11
url = https://laverna.cc/
+ install = laverna.install
arch = x86_64
arch = i686
license = MPL2
diff --git a/PKGBUILD b/PKGBUILD
index bbed0cfc192c..032133451ccf 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=laverna
pkgver=0.7.51
-pkgrel=10
+pkgrel=11
pkgdesc="Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote."
arch=("x86_64" "i686")
depends=('gconf')
@@ -14,9 +14,13 @@ source_i686=("https://github.com/Laverna/laverna/releases/download/${pkgver}/${p
sha512sums=('7cea514f4b5ac3b380615c1286cb8bac2ef36e20425a738cd490b892748b70b4e07a1ba5828aaf4715a2ac55ab8e74367129814fa29d34bc69f71ad0b0c3a40b')
sha512sums_x86_64=('9f3d680148970e980245fc401bca9329924c4ea1b3966c6d5f4f4dbcd08d7bb4416d464b9645458367f6a2edea2ac1d63572752dfb12033bb6a210c81c52e596')
sha512sums_i686=('717df3255f2af9bedba2bf06a62b35012d73a819793f681e348d77271d896ba0fcf3ad88b43cb477cac976e90c0f1611c532bb70b2870fd9f8e21293e8b3c66e')
-
+install=${pkgname}.install
package() {
+ echo "$(tput bold)$(tput setaf 1) Laverna IS NOW DEPRECATED and UNMAINTAINED!! $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) Please report to https://git.io/fxcCE for more information. $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) We invite you to follow https://git.io/fxcWt instead. $(tput sgr 0)"
+
mkdir -p ${pkgdir}/usr/bin
mkdir -p ${pkgdir}/usr/share/{${pkgname},applications,licenses/${pkgname}}
install -Dm644 ../913.patch ${pkgdir}/usr/share/${pkgname}
@@ -32,4 +36,8 @@ package() {
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
ln -s /usr/share/${pkgname}/${pkgname} ${pkgdir}/usr/bin/${pkgname}
+
+ echo "$(tput bold)$(tput setaf 1) Laverna IS NOW DEPRECATED and UNMAINTAINED!! $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) Please report to https://git.io/fxcCE for more information. $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) We invite you to follow https://git.io/fxcWt instead. $(tput sgr 0)"
}
diff --git a/laverna.install b/laverna.install
new file mode 100644
index 000000000000..bfb2ce80a3f0
--- /dev/null
+++ b/laverna.install
@@ -0,0 +1,23 @@
+pre_install() {
+ echo "$(tput bold)$(tput setaf 1) Laverna IS NOW DEPRECATED and UNMAINTAINED!! $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) Please report to https://git.io/fxcCE for more information. $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) We invite you to follow https://git.io/fxcWt instead. $(tput sgr 0)"
+}
+
+post_install() {
+ echo "$(tput bold)$(tput setaf 1) Laverna IS NOW DEPRECATED and UNMAINTAINED!! $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) Please report to https://git.io/fxcCE for more information. $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) We invite you to follow https://git.io/fxcWt instead. $(tput sgr 0)"
+}
+
+pre_upgrade() {
+ echo "$(tput bold)$(tput setaf 1) Laverna IS NOW DEPRECATED and UNMAINTAINED!! $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) Please report to https://git.io/fxcCE for more information. $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) We invite you to follow https://git.io/fxcWt instead. $(tput sgr 0)"
+}
+
+post_upgrade() {
+ echo "$(tput bold)$(tput setaf 1) Laverna IS NOW DEPRECATED and UNMAINTAINED!! $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) Please report to https://git.io/fxcCE for more information. $(tput sgr 0)"
+ echo "$(tput bold)$(tput setaf 1) We invite you to follow https://git.io/fxcWt instead. $(tput sgr 0)"
+} \ No newline at end of file