Joplin: Remove unneded Packages

main
Alfredo Palhares 2020-06-15 13:53:20 +01:00
parent c74d17ce16
commit 6150f0a000
3 changed files with 0 additions and 81 deletions

7
.gitignore vendored
View File

@ -1,7 +0,0 @@
src/
pkg
v*.zip
joplin*.zip
joplin*.tar.gz
*tar.xz
*~

View File

@ -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)

View File

@ -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