# Maintainer: Bjarne Ă˜verli pkgname=aether pkgver=4.19.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' 'gtk-layer-shell' 'gstreamer' 'gst-plugins-good' 'gst-libav' 'ffmpeg') 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" "aether-wp-linux-amd64-${pkgver}::https://github.com/bjarneo/aether/releases/download/v${pkgver}/aether-wp-linux-amd64") source_aarch64=("aether-linux-arm64-${pkgver}::https://github.com/bjarneo/aether/releases/download/v${pkgver}/aether-linux-arm64" "aether-wp-linux-arm64-${pkgver}::https://github.com/bjarneo/aether/releases/download/v${pkgver}/aether-wp-linux-arm64") sha256sums=('f015adc8dd065d3a4386b78fd1d647b85b56892414b71a2d316018ae1bc8d644') sha256sums_x86_64=('5f2fffdc9d8ea6f404f62aba1c28d3e444e6cc96b6258d4312c8504c6c4d81aa' '4003152dc4879e4c4bec2e1d1a72c8ac0157718670e6cb8cdf11b797360d7924') sha256sums_aarch64=('683f89834aeffd774088588d7549fcf6dc3a1332d2c1189e3a9651473e4d7738' '5525a285ee0111f659fcfba76a91f299082deb0372f2d8ca7d3559faf4774bf5') noextract=("aether-linux-amd64-${pkgver}" "aether-linux-arm64-${pkgver}" "aether-wp-linux-amd64-${pkgver}" "aether-wp-linux-arm64-${pkgver}") package() { if [[ "$CARCH" == "x86_64" ]]; then install -Dm755 "${srcdir}/aether-linux-amd64-${pkgver}" "${pkgdir}/usr/bin/aether" install -Dm755 "${srcdir}/aether-wp-linux-amd64-${pkgver}" "${pkgdir}/usr/bin/aether-wp" elif [[ "$CARCH" == "aarch64" ]]; then install -Dm755 "${srcdir}/aether-linux-arm64-${pkgver}" "${pkgdir}/usr/bin/aether" install -Dm755 "${srcdir}/aether-wp-linux-arm64-${pkgver}" "${pkgdir}/usr/bin/aether-wp" 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" }