now there's a desktop file 0uo

This commit is contained in:
Lynne Megido 2020-09-06 20:59:46 +10:00
parent a863c8a2c2
commit 1ef0033547
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
3 changed files with 16 additions and 3 deletions

View file

@ -4,6 +4,7 @@ pkgname=buypeeb-git # '-bzr', '-git', '-hg' or '-svn'
_srcname=buypeeb-cs _srcname=buypeeb-cs
pkgver=r89.d548d75 pkgver=r89.d548d75
pkgrel=1 pkgrel=1
options=('!strip')
pkgdesc="A simple desktop program for keeping track of Yahoo! Auctions Japan items" pkgdesc="A simple desktop program for keeping track of Yahoo! Auctions Japan items"
arch=('x86_64') arch=('x86_64')
url="https://git.bune.city/lynnesbian/buypeeb-cs" url="https://git.bune.city/lynnesbian/buypeeb-cs"
@ -26,6 +27,8 @@ build() {
} }
package() { package() {
cd "$srcdir/${_srcname}"
install -D -m755 ./buypeeb.desktop -t "${pkgdir}/usr/share/applications"
cd "$srcdir/${_srcname}/build" cd "$srcdir/${_srcname}/build"
install -D -m755 ./buypeeb -t "${pkgdir}/usr/bin" install -D -m755 ./buypeeb -t "${pkgdir}/usr/bin"
} }

11
buypeeb.desktop Executable file
View file

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Buypeeb
Comment=Keep track of Yahoo! Japan Auctions
Keywords=Yahoo;Auctions
Exec=buypeeb
Icon=application-x-executable
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=Network;

View file

@ -11,13 +11,12 @@ sudo pacman -S dotnet-sdk
dotnet run dotnet run
``` ```
<!-- ## quick install (arch linux) ## quick install (arch linux)
this doesn't work 0uo
```bash ```bash
curl https://git.bune.city/lynnesbian/buypeeb-cs/raw/branch/master/PKGBUILD curl https://git.bune.city/lynnesbian/buypeeb-cs/raw/branch/master/PKGBUILD
makepkg -si # installs to /usr/bin/buypeeb makepkg -si # installs to /usr/bin/buypeeb
buypeeb buypeeb
``` --> ```
--- ---
## installing prerequisites ## installing prerequisites