# Maintainer: Bjarne Ă˜verli pkgname=aether pkgver=4.29.8 pkgrel=1 pkgdesc='Desktop theming application - extract colors from wallpapers and apply cohesive themes' arch=('x86_64' 'aarch64') url='https://github.com/omacom/aether' license=('MIT') depends=('webkit2gtk-4.1' 'gtk3') source=("aether-${pkgver}.tar.gz::https://github.com/omacom/aether/archive/refs/tags/v${pkgver}.tar.gz") source_x86_64=("aether-linux-amd64-${pkgver}::https://github.com/omacom/aether/releases/download/v${pkgver}/aether-linux-amd64") source_aarch64=("aether-linux-arm64-${pkgver}::https://github.com/omacom/aether/releases/download/v${pkgver}/aether-linux-arm64") sha256sums=('b83e0eeb1332b4ed655389a051d5b9b14a3e109968b7f278005e52c5e69a1e9c') sha256sums_x86_64=('d3d2d07b32da7a495221ed271ee66f4a1e344c91dcec9b267ec0a74ab6e36462') sha256sums_aarch64=('ffcfd23d0375a3f0c0ce014821cc5e1670f2e061c35e991340e75352dac9b731') noextract=("aether-linux-amd64-${pkgver}" "aether-linux-arm64-${pkgver}") package() { if [[ "$CARCH" == "x86_64" ]]; then install -Dm755 "${srcdir}/aether-linux-amd64-${pkgver}" "${pkgdir}/usr/bin/aether" elif [[ "$CARCH" == "aarch64" ]]; then install -Dm755 "${srcdir}/aether-linux-arm64-${pkgver}" "${pkgdir}/usr/bin/aether" fi cd "${srcdir}/aether-${pkgver}" install -Dm644 build/linux/aether.desktop "${pkgdir}/usr/share/applications/aether.desktop" install -Dm644 li.oever.aether.url-handler.desktop "${pkgdir}/usr/share/applications/li.oever.aether.url-handler.desktop" install -Dm644 icon.png "${pkgdir}/usr/share/pixmaps/aether.png" install -Dm644 assets/aether-icon-512.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/aether.png" install -Dm644 README.md "${pkgdir}/usr/share/doc/aether/README.md" }