Closed esbon125 closed 10 months ago
I'm not familiar with makepkg
command (I'm a Debian user). The PICSimLab compiles and run with the build script
./bscripts/build_all_static.sh
?
Hello, it doesn't use it at all, because the script uses apt, and in Arch you have pacman, the PKGBUILD script is as follows:
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=picsimlab-bin
_pkgname=PICSimLab
_pkgname2=${pkgname%-bin}
_date=230728
pkgver=0.9.0
pkgrel=2
pkgdesc="A realtime emulator of development boards with integrated MPLABX/avr-gdb debugger"
arch=('x86_64')
url='https://github.com/lcgamboa/picsimlab'
license=('GPL2')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
depends=('gtkwave'
'gpsim'
'libgcrypt'
'cutecom'
'gedit'
'pulseview'
'glibc'
'dtc'
'gcc-libs'
'glib2'
'picsim'
'openal'
'pixman'
'libslirp'
'wxwidgets-common'
'wxgtk3'
'zlib')
makedepends=('tar')
# source=("${_pkgname}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_${_date}_Ubuntu_20.04.5_LTS_amd64.deb")
source=("${_pkgname}-${pkgver}.deb::https://sourceforge.net/projects/picsim/files/latestbuild/${_pkgname}_${pkgver}_${_date}_Ubuntu_20.04.6_LTS_amd64.deb/download")
sha256sums=('425af9de1bb7e208d6a719b42d543ffa139d596b04c1db1d62a760ce110f33e4')
package() {
# extract
tar xvf data.tar.xz -C "${pkgdir}"
# remove doc
rm -rf ${pkgdir}/usr/share/doc/
# icon
for icon in espmsim picsimlab srtank
do
install -Dm644 ${pkgdir}/usr/share/${_pkgname2}/$icon.png -t ${pkgdir}/usr/share/pixmaps/
done
}
I've tried to communicate with the package maintainer, but I haven't been lucky yet.
Thanks! Appimage worked just fine. Will close the issue, but maybe leaving a warning for newcomers like me wouldn't hurt
i installed it perfectly from AUR, and using
makepkg -si
. The error I'm getting is:I tried reinstalling, restarting. Nothing happened. I saw from another application it might my wxconfig which is not working, but i checked and i have the html library, so I don't know.