diff options
author | zxp19821005 | 2024-03-21 18:59:22 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-21 18:59:22 +0800 |
commit | d7615ed3d78534a182d2a46741b5aa59a65a34b9 (patch) | |
tree | c3d37dc14da959ee9a76b73cce1eac4db47318fd | |
parent | 63e6b59af66db13254b2ef1d61110bbfdb30c0a4 (diff) | |
download | aur-d7615ed3d78534a182d2a46741b5aa59a65a34b9.tar.gz |
update to 4.9.2
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | pdmaner.sh | 5 |
3 files changed, 17 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = pdmaner-bin pkgdesc = A multi operating system open source and free desktop version relational database modeling tool.一款多操作系统开源免费的桌面版关系数据库模型建模工具 - pkgver = 4.9.1 + pkgver = 4.9.2 pkgrel = 1 url = http://www.pdmaner.com arch = x86_64 @@ -8,13 +8,13 @@ pkgbase = pdmaner-bin makedepends = fuse2 depends = electron13 depends = java-runtime - provides = pdmaner=4.9.1 + provides = pdmaner=4.9.2 conflicts = pdmaner - source = pdmaner-4.9.1.AppImage::https://github.com/zxp19821005/My_AUR_Files/releases/download/PDManer4.9.1/PDManer-linux_v4.9.1.AppImage - source = LICENSE-4.9.1::https://gitee.com/robergroup/pdmaner/raw/master/LICENSE + source = pdmaner-4.9.2.AppImage::https://github.com/zxp19821005/My_AUR_Files/releases/download/PDManer4.9.2/PDManer-linux_v4.9.2.AppImage + source = LICENSE-4.9.2::https://gitee.com/robergroup/pdmaner/raw/master/LICENSE source = pdmaner.sh - sha256sums = 538a3ac13d660c359434183cfd4650abadd502ea1f0c3f1824682344b1c9e03a + sha256sums = 0416d4b15a54bcb7d3628dac488b9bb18af3fc99a6fc6633f5581306e3a8c6cd sha256sums = 7c91afc2c15fc478de3fc38f2678e560906859da6932f2c03b6bc9076d592d18 - sha256sums = 50b10386d13e5bec806aeb78f819c4edd0208a4d184332e53866c802731217fe + sha256sums = dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8 pkgname = pdmaner-bin @@ -1,7 +1,7 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=pdmaner-bin _appname=PDManer -pkgver=4.9.1 +pkgver=4.9.2 _electronversion=13 pkgrel=1 pkgdesc="A multi operating system open source and free desktop version relational database modeling tool.一款多操作系统开源免费的桌面版关系数据库模型建模工具" @@ -23,13 +23,14 @@ source=( "LICENSE-${pkgver}::https://gitee.com/robergroup/pdmaner/raw/master/LICENSE" "${pkgname%-bin}.sh" ) -sha256sums=('538a3ac13d660c359434183cfd4650abadd502ea1f0c3f1824682344b1c9e03a' +sha256sums=('0416d4b15a54bcb7d3628dac488b9bb18af3fc99a6fc6633f5581306e3a8c6cd' '7c91afc2c15fc478de3fc38f2678e560906859da6932f2c03b6bc9076d592d18' - '50b10386d13e5bec806aeb78f819c4edd0208a4d184332e53866c802731217fe') + 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8') build() { sed -e "s|@electronversion@|${_electronversion}|g" \ -e "s|@appname@|${pkgname%-bin}|g" \ -e "s|@runname@|app.asar|g" \ + -e "s|@options@||g" \ -i "${srcdir}/${pkgname%-bin}.sh" chmod a+x "${srcdir}/${pkgname%-bin}-${pkgver}.AppImage" "${srcdir}/${pkgname%-bin}-${pkgver}.AppImage" --appimage-extract > /dev/null @@ -43,6 +44,9 @@ package() { install -Dm644 "${srcdir}/squashfs-root/swiftshader/"* -t "${pkgdir}/usr/lib/${pkgname%-bin}/swiftshader" install -Dm644 "${srcdir}/squashfs-root/usr/lib/"* -t "${pkgdir}/usr/lib/${pkgname%-bin}/lib" install -Dm644 "${srcdir}/squashfs-root/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" - install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/0x0/apps/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps" + for _icons in 16x16 32x32 48x48 64x64 128x128 256x256;do + install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \ + -t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps" + done install -Dm644 "${srcdir}/LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
\ No newline at end of file diff --git a/pdmaner.sh b/pdmaner.sh index 86cb3dc6a9bf..7ddcaab8d734 100644 --- a/pdmaner.sh +++ b/pdmaner.sh @@ -2,6 +2,7 @@ set -e _APPDIR="/usr/lib/@appname@" _RUNNAME="${_APPDIR}/@runname@" +_OPTIONS="@options@" export PATH="${_APPDIR}:${PATH}" export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}" export ELECTRON_IS_DEV=0 @@ -9,7 +10,7 @@ export ELECTRON_FORCE_IS_PACKAGED=true export NODE_ENV=production cd "${_APPDIR}" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then - exec electron@electronversion@ "${_RUNNAME}" "$@" || exit $? + exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "$@" || exit $? else - exec electron@electronversion@ "${_RUNNAME}" --no-sandbox "$@" || exit $? + exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "$@" || exit $? fi
\ No newline at end of file |