Files
omarchy-pkgs/pkgbuilds/shared/aether/PKGBUILD
T

35 lines
2.2 KiB
Bash

# Maintainer: Bjarne Øverli <bjarne@oever.li>
pkgname=aether
pkgver=4.7.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=('aec796aa90ba25244c5cc0bb1397ff16bd9cb458cd85d4f17b292bd98af1da41')
sha256sums_x86_64=('fba766c6eeeed097c25f11f25fe77da8f38c21dbc64b1b5ae623e0054946f8a6' 'a1ade2623f73805816d44ce042e32de3c8a317bdcec3d8653c9e4003c2241d2b')
sha256sums_aarch64=('dae33281fa10d1a6339328b0a1a2db09f6eb4b3561015a8542ff3b2f9e66c465' 'a6c1e897c126502f33eaaa228112df279e95e5ee36c580ed478fb265064d3745')
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"
}