123456789101112131415161718192021222324252627 |
- # Maintainer: esrh - https://esrh.me
- # Maintainer: txtsd <aur.archlinux@ihavea.quest>
- pkgname=gtkcord4-bin
- _pkgname=gtkcord4
- pkgver=0.0.10
- pkgrel=1
- pkgdesc='Discord client written in go and gtk4 (binary version)'
- arch=('x86_64' 'aarch64')
- url='https://github.com/diamondburned/gtkcord4'
- license=('GPL3')
- provides=('gtkcord4')
- conflicts=('gtkcord4' 'gtkcord4-git')
- depends=('gtk4' 'gobject-introspection' 'libadwaita')
- source_x86_64=("https://github.com/diamondburned/gtkcord4/releases/download/v${pkgver}/gtkcord4-linux-amd64-v${pkgver}-.tar.zst")
- source_aarch64=("https://github.com/diamondburned/gtkcord4/releases/download/v${pkgver}/gtkcord4-linux-arm64-v${pkgver}-.tar.zst")
- sha256sums_x86_64=('989ec8d0d50d2e6d57670723a721b0b416df5c04502d4ecb1df095bfb9c4ae0d')
- sha256sums_aarch64=('3bc4b5b69a12286ddc32e8ed09804a74290f6fddb669e1a451d41c5d466af412')
- package() {
- install -Dm 755 "${srcdir}/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
- install -Dm 644 "${srcdir}/share/applications/xyz.diamondb.${_pkgname}.desktop" "${pkgdir}/usr/share/applications/xyz.diamondb.${_pkgname}.desktop"
- sed -i "s/Chat;/Chat;InstantMessaging;/" "${pkgdir}/usr/share/applications/xyz.diamondb.${_pkgname}.desktop"
- install -Dm 644 "${srcdir}/share/icons/hicolor/256x256/apps/${_pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${_pkgname}.png"
- }
|