diff options
author | zxp19821005 | 2023-03-06 15:48:52 +0800 |
---|---|---|
committer | zxp19821005 | 2023-03-06 15:48:52 +0800 |
commit | 27db9e5129a756d2728beb93fd30a1a7ea2d0ad8 (patch) | |
tree | d0fe06fd6dbf7ff13b54aa876a6dd0d39276f3fe | |
download | aur-27db9e5129a756d2728beb93fd30a1a7ea2d0ad8.tar.gz |
first release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..207f9558662d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = icalingua++-appimage + pkgdesc = A branch of deleted Icalingua, with limited support + pkgver = 2.9.2 + pkgrel = 1 + url = https://github.com/Icalingua-plus-plus/Icalingua-plus-plus + arch = x86_64 + license = AGPL3 + depends = hicolor-icon-theme + depends = zlib + conflicts = icalingua++ + options = !strip + source = icalingua-2.9.2.AppImage::https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.9.2/Icalingua++-2.9.2.AppImage + sha256sums = 8bf3d914fe2055f655d5bb15fa4fb2d02baed8c3d30751fcc8116cfe45a99252 + +pkgname = icalingua++-appimage diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d077d128b11f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: zxp19821005 <zxp19821005 at 163 dot com> +pkgname=icalingua++-appimage +_pkgname=icalingua +pkgver=2.9.2 +pkgrel=1 +epoch= +pkgdesc=" A branch of deleted Icalingua, with limited support" +arch=("x86_64") +url="https://github.com/Icalingua-plus-plus/Icalingua-plus-plus" +license=('AGPL3') +depends=('hicolor-icon-theme' 'zlib') +optdepends=() +options=(!strip) +provides=() +conflicts=(icalingua++) +install= +source=("${_pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/Icalingua++-${pkgver}.AppImage") +_install_path="/opt/appimages" +sha256sums=('8bf3d914fe2055f655d5bb15fa4fb2d02baed8c3d30751fcc8116cfe45a99252') +prepare() { + chmod a+x "${_pkgname}-${pkgver}.AppImage" + "./${_pkgname}-${pkgver}.AppImage" --appimage-extract + sed 's/Exec=AppRun/Exec=\/opt\/appimages\/icalingua.AppImage/g' -i "${srcdir}/squashfs-root/${_pkgname}.desktop" +} +package() { + install -Dm755 "${srcdir}/${_pkgname}-${pkgver}.AppImage" "${pkgdir}/${_install_path}/${_pkgname}.AppImage" + install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.svg" + install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" +}
\ No newline at end of file |