# Maintainer: Bjarne Ă˜verli pkgname=aether pkgver=4.8.1 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=('4a9e3ac9afdf84788f83f842b5d7ec923208edbe2c1e971941c48949528fb65e') sha256sums_x86_64=('a73eb77a104dce993854012e02405a211034860ddf049549a1c952a2ff1521b9' 'd6ade2c1f68ad871701aeb519a6ec4d9f61a88427da9b855182eca7e98c4bc06') sha256sums_aarch64=('62ec51e9bf934ca1756468fb48f5048055d9ccb11ffb1bc7bff48ccc259ce3b4' '182e698db5d57e5520f86f0c9d5de5c542593cfa1836e4042c1512fe14446320') 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" }