# Maintainer: Bjarne Ă˜verli pkgname=aether pkgver=4.28.0 pkgrel=1 pkgdesc='Desktop theming application - extract colors from wallpapers and apply cohesive themes' arch=('x86_64' 'aarch64') url='https://github.com/bjarneo/aether' license=('MIT') depends=('webkit2gtk-4.1' 'gtk3') source=("aether-${pkgver}.tar.gz::https://github.com/bjarneo/aether/archive/refs/tags/v${pkgver}.tar.gz") source_x86_64=("aether-linux-amd64-${pkgver}::https://github.com/bjarneo/aether/releases/download/v${pkgver}/aether-linux-amd64") source_aarch64=("aether-linux-arm64-${pkgver}::https://github.com/bjarneo/aether/releases/download/v${pkgver}/aether-linux-arm64") sha256sums=('11b07e72dc21fdda2183f17f92c46a078d463b6356f6a48abe81b25043a35db3') sha256sums_x86_64=('8ed44753021e0855ccd0dde84d72b458fe8a3b12d76bf69caaad5c36a478582e') sha256sums_aarch64=('a2a729b79ebef0f8b7f3fac79ddf0a856653d531109a64eb4a612b8de8ac096e') 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 icon.png "${pkgdir}/usr/share/pixmaps/aether.png" install -Dm644 README.md "${pkgdir}/usr/share/doc/aether/README.md" }