diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c44f772..0000000 --- a/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -src/ -pkg -v*.zip -joplin*.zip -joplin*.tar.gz -*tar.xz -*~ diff --git a/README.md b/README.md deleted file mode 100644 index fac35b0..0000000 --- a/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# Joplin - Arch Linux - -## Overview - -This contains the `PKGBUILD` and other build tools to package -[Joplin](https://joplin.cozic.net/) - -This package contains both the desktop and cli client - -## Installing - -You can use an AUR wrapper like [yay](https://aur.archlinux.org/packages/yay/): -``` -yay -S joplin -``` - -[Check the current AUR version here.](https://aur.archlinux.org/packages/joplin/) - -## Building - -Build with makepkg - -``` -makepkg -fc -``` - -Check more information on the [Archwiki](https://wiki.archlinux.org/index.php/Makepkg) - -## Contributing - -Please Open a Pull Request or an Issue :) - -## Maintainer - - [Alfredo Palhares](https://github.com/masterkorp) - diff --git a/cleanup.sh b/cleanup.sh deleted file mode 100755 index dd1846e..0000000 --- a/cleanup.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -# Prompts for confirmation, returns 1 if Yes -# -# Usage: getConfirmation "Question message" -# You can get anwser value on retcode -# if [[ $? == "1"]]; then -# echo "You choose yes" -# fi -function getConfirmation { - value=0 - while true; do - read -p "${1} [Y/n]" yn - - case $yn in - [Yy]* ) return 0 ;; - [Nn]* ) return 1 ;; - * ) return 0 ;; - esac - - done -} - -echo "This script will cleanup all workfiles" -getConfirmation "Do you want to proccess" -if [[ $1 == "0" ]]; then - echo "Aborting" - exit 1 -fi - -rm -r src/ -rm -r pkg/ -rm v*.zip -rm v*.zip.part -rm *tar.gz -rm *tar.xz - -exit 0