summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIcefox2020-06-19 19:40:03 +0300
committerIcefox2020-06-19 19:40:03 +0300
commit60891c8e8fadaa6823da54a32abfbddd3d66d146 (patch)
tree2824711f5aae6201d10749835f586e7df6343f8d /PKGBUILD
parent965a006367163f12679a6a2ca6fe1142d7284200 (diff)
downloadaur-60891c8e8fadaa6823da54a32abfbddd3d66d146.tar.gz
updated to v. 1.0.220
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 21 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f3783c0d8360..e596c60ec5e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,14 +8,29 @@ arch=('x86_64')
url="https://github.com/laurent22/joplin"
license=('MIT')
options=(!strip) # necessary otherwise the AppImage file in the package is truncated
-sha512sums=('370e3dd9479bedac1c8d30cd8dd2048cd095b1c4a844b657aaeb140c0e903274f97f77f556dfa8536b9cf653b59217c9f7a628e4f1e1d25caa7d861db0c4c8ca')
-_filename=Joplin-$pkgver-x86_64.AppImage
-source() {
- ${url}/releases/download/v${pkgver}/Joplin-${pkgver}.AppImage
- joplin.desktop
-}
+_filename=Joplin-$pkgver.AppImage
+source=(
+ ${url}/releases/download/v${pkgver}/Joplin-${pkgver}.AppImage
+ ${url}/raw/v${pkgver}/LICENSE
+ joplin.desktop
+)
+sha512sums=(
+ SKIP
+ SKIP
+ SKIP
+)
package() {
+ echo
+ echo " _ _ _ "
+ echo " | | ___ _ __ | (_)_ __ "
+ echo " _ | |/ _ \| '_ \| | | '_ \ "
+ echo "| |_| | (_) | |_) | | | | | |"
+ echo " \___/ \___/| .__/|_|_|_| |_|"
+ echo " |_| "
+ echo
+}
+package() {
chmod +x $_filename
mkdir -p squashfs-root/usr/share/icons/hicolor/{72x72,16x16,128x128}/apps
./$_filename --appimage-extract "usr/share/icons/hicolor/*/apps/joplin.png" > /dev/null 2>&1