diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 7 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = taurus pkgdesc = GUI port scanner pkgver = 1.2 - pkgrel = 5 + pkgrel = 6 url = https://github.com/blooser/taurus arch = x86_64 license = MIT @@ -1,7 +1,7 @@ # Maintainer: Blooser <blooser@protonmail.com> pkgname=taurus pkgver=1.2 -pkgrel=5 +pkgrel=6 pkgdesc="GUI port scanner" arch=('x86_64') md5sums=('956971bed1cdb1953bd6344162177804') @@ -9,7 +9,7 @@ url="https://github.com/blooser/taurus" license=('MIT') depends=('qt5-base' 'sfml') makedepends=('cmake') -applocation=~/$pkgname +applocation=~/.local/share/$pkgname shortcut=" [Desktop Entry] Encoding=UTF-8 @@ -17,7 +17,7 @@ Version=${pkgver} Name[en_US]=Taurus GenericName=GUI Port Scanner Exec=${applocation}/taurus -Icon[en_US]=${applocation}/icons/discover.png +Icon[en_US]=${applocation}/discover.png Type=Application Categories=Application;Network Comment[en_US]=Quick ports scan @@ -34,8 +34,10 @@ build() { package() { cd $pkgname-$pkgver make clean + mkdir -p ${applocation} && cp taurus ${applocation} + cp icons/discover.png ${applocation} cd .. - mv $pkgname-$pkgver ~/$pkgname + rm -rf $pkgname-$pkgver echo "${shortcut}" > ~/.local/share/applications/taurus.desktop if [ -f ~/.zshrc ]; then echo "alias taurus=${applocation}/taurus" >> ~/.zshrc |