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

30 lines
1.5 KiB
Bash

# Maintainer: Bjarne Øverli <bjarne@oever.li>
pkgname=aether
pkgver=4.1.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')
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")
source_aarch64=("aether-linux-arm64-${pkgver}::https://github.com/bjarneo/aether/releases/download/v${pkgver}/aether-linux-arm64")
sha256sums=('83fa53b70701a7bba7ead0de0b4ded186c23ce40502e0f2cb476ef09fb999e9f')
sha256sums_x86_64=('9825657b656579f7b0c107ddbb06f56230c56d7605acedb789745378628f1ca0')
sha256sums_aarch64=('b4fd590fe78834d8eb3f728ced3918fc9e3cac9ee164dbe024e811ce70e3adee')
noextract=("aether-linux-amd64-${pkgver}" "aether-linux-arm64-${pkgver}")
package() {
if [[ "$CARCH" == "x86_64" ]]; then
install -Dm755 "${srcdir}/aether-linux-amd64-${pkgver}" "${pkgdir}/usr/bin/aether"
elif [[ "$CARCH" == "aarch64" ]]; then
install -Dm755 "${srcdir}/aether-linux-arm64-${pkgver}" "${pkgdir}/usr/bin/aether"
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"
}