# Maintainer: Bjarne Ă˜verli pkgname=aether pkgver=4.8.2 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=('09e4015f07e790f47c71fbc21cefa0a23a8316ec9a622f88a0857a8f2c1d8ebf') sha256sums_x86_64=('e9d5ba755782ba3f1cd71f071c96671556a4260dbfa18283050df343116438c5' '2e881618671c328e24fb863f716059db988e359401cbfdc3bcc35880e617515b') sha256sums_aarch64=('aec1bd903040d50a71b9d4eaaec9f60cc0f3e4fc3480e7881e52bda3739b067d' '4f78cc67a64676b12de1315bb53c66ef648a154ffcf16d7e3f91c6b73b9f12f7') 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" }