# Maintainer: Bjarne Ă˜verli pkgname=aether pkgver=4.11.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=('4d034d65ad31fc7155fd3f13f1fe673d77b57d7a74ba22ae22abee46a41750a6') sha256sums_x86_64=('4cb7375a433390e5d6c943771035a6b74a6eb745e56170e6f6443b3c03e86aa2' '367a79109e4df66bb1e4d2957e6172766bb6f3ee969493218bcb07d34fe1c37b') sha256sums_aarch64=('6c8cfc1c2ae50e4363a862dce6ac2e0fb216cb4920009729e00e62155235647a' '2926703a2702846d49cb7544e4eb7645e29bd7cf35f857db7434b606ffa90d42') 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" }