# Maintainer: yjun pkgname=nxp-gui-guider _pkgname="Gui-Guider" pkgver=1.7.1 _pkg_file_name="${_pkgname}-Setup-${pkgver}-GA.deb" pkgrel=1 pkgdesc="A user-friendly graphical user interface development tool from NXP that enables the rapid development of high quality displays with the open-source LVGL graphics library" arch=('x86_64') url="https://www.nxp.com/design/software/development-software/gui-guider:GUI-GUIDER" license=('custom:NXP SOFTWARE LICENSE AGREEMENT') depends=( # copy from namcap # "bash" # "glibc" # "gcc-libs" # "glib2" # "alsa-lib" # "libxrandr" # "libx11" # "libxkbcommon" # "libxcomposite" # "libxcb" # "libcups" # "libxext" # "mesa" # "libdrm" # "wayland" # "libxfixes" # "libxdamage" # "dbus" # "nspr" # "gtk3" # "at-spi2-core" # "expat" # "pango" # "cairo" # "nss" # "sdl2" # "hicolor-icon-theme" # "java-runtime" # "cmake" # "gcc" # "libvips" # copy from deb control file "sdl2" "libvips" "cmake" # "gconf" "libnotify" "libappindicator-gtk3" "libxtst" "nss" "libffi" "gcc" ) options=('!strip') makedepends=('tar' 'xdg-user-dirs') _DOWNLOADS_DIR=`xdg-user-dir DOWNLOAD` if [ ! -f ${PWD}/${_pkg_file_name} ]; then if [ -f $_DOWNLOADS_DIR/${_pkg_file_name} ]; then ln -sfn $_DOWNLOADS_DIR/${_pkg_file_name} ${PWD} else msg2 "" msg2 "Package not found!" msg2 "The package can be downloaded here: ${url}" msg2 "Please remember to put a downloaded package ${_pkg_file_name} into the build directory ${PWD} or $_DOWNLOADS_DIR" msg2 "" fi fi source=("local://${_pkg_file_name}") sha256sums=('383d688d49710ea57c3b1eb6bea9d27f401c4d6e2d72da4120c70672be65abce') build() { cd ${srcdir} mkdir -p ${srcdir}/build tar -xf data.tar.xz -C ${srcdir}/build } package() { cp -a ${srcdir}/build/* ${pkgdir}/ # soft link install -dm 755 ${pkgdir}/usr/bin ln -sf /opt/${_pkgname}/${_pkgname} ${pkgdir}/usr/bin/${_pkgname} # license install -Dm644 ${srcdir}/build/opt/${_pkgname}/EULA.txt -t ${pkgdir}/usr/share/licenses/${pkgname} } # vim: set sw=2 ts=2 et: