diff options
author | zxp19821005 | 2023-03-23 18:13:25 +0800 |
---|---|---|
committer | zxp19821005 | 2023-03-23 18:13:25 +0800 |
commit | f3a4232bbfc1ae2a5a0cc4287a30761367e111f4 (patch) | |
tree | 65c27a8797188dcb534de78428d02f742534e323 | |
parent | e81fc6bdb052f8e377b812369ef7ebd2b5bee9f8 (diff) | |
download | aur-f3a4232bbfc1ae2a5a0cc4287a30761367e111f4.tar.gz |
fix errors
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 17 insertions, 10 deletions
@@ -3,12 +3,15 @@ pkgbase = webkitty-appimage pkgver = 3.0.0 pkgrel = 1 url = https://dartfling.com/product?pid=3 - arch = any + arch = x86_64 license = MIT depends = hicolor-icon-theme depends = zlib + depends = glibc options = !strip source = webkitty-3.0.0.AppImage::https://github.com/yikuansun/webkitty/releases/download/v3.0.0/WebKitty-3.0.0.AppImage + source = LICENSE::https://github.com/yikuansun/webkitty/raw/master/LICENSE sha256sums = 7d4cc208478c90e3a82945af7c086952a9c64caa9b60abd0407bf8e543ca58e1 + sha256sums = 38149891459513ff7df2dec243d70c880950572bf1f01a1f3402034406b7d886 pkgname = webkitty-appimage @@ -1,28 +1,32 @@ # Maintainer: LeSnake04 <dev.lesnake@posteo.de> -pkgname=webkitty-appimage _pkgname=webkitty +pkgname="${_pkgname}-appimage" pkgver=3.0.0 pkgrel=1 -conflit=() epoch= pkgdesc="Local web development IDE" -arch=("any") +arch=("x86_64") url="https://dartfling.com/product?pid=3" _githuburl="https://github.com/yikuansun/webkitty" license=(MIT) -depends=(hicolor-icon-theme zlib) +depends=(hicolor-icon-theme zlib glibc) options=(!strip) +providers=("${_pkgname}") +conflit=("${_pkgname}") _install_path="/opt/appimages" -source=("${_pkgname}-${pkgver}.AppImage::${_githuburl}/releases/download/v${pkgver}/WebKitty-${pkgver}.AppImage") -sha256sums=('7d4cc208478c90e3a82945af7c086952a9c64caa9b60abd0407bf8e543ca58e1') +source=("${_pkgname}-${pkgver}.AppImage::${_githuburl}/releases/download/v${pkgver}/WebKitty-${pkgver}.AppImage" + "LICENSE::${_githuburl}/raw/master/LICENSE") +sha256sums=('7d4cc208478c90e3a82945af7c086952a9c64caa9b60abd0407bf8e543ca58e1' + '38149891459513ff7df2dec243d70c880950572bf1f01a1f3402034406b7d886') prepare() { chmod a+x "${_pkgname}-${pkgver}.AppImage" - "./${_pkgname}-${pkgver}.AppImage" --appimage-extract - sed 's/Exec=AppRun/Exec=\/opt\/appimages\/webkitty.AppImage/g' -i "${srcdir}/squashfs-root/${_pkgname}.desktop" + "./${_pkgname}-${pkgver}.AppImage" --appimage-extract > /dev/null + sed 's/Exec=AppRun/Exec=\/opt\/appimages\/webkitty.AppImage/g;s/Utility/Utility;Development;/g' -i "${srcdir}/squashfs-root/${_pkgname}.desktop" } package() { install -Dm755 "${srcdir}/${_pkgname}-${pkgver}.AppImage" "${pkgdir}/${_install_path}/${_pkgname}.AppImage" install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png" \ "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png" -} + install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
\ No newline at end of file |