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

35 lines
2.2 KiB
Bash

# Maintainer: Bjarne Øverli <bjarne@oever.li>
pkgname=aether
pkgver=4.15.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=('f15f2f4f8fc35df55a512923083af808c7ef89b9dc6b15ace54eef92d48791a0')
sha256sums_x86_64=('c394d0165a00c41b9c9cc180f5439c64b779fdcf8bc872a647d1cb0f31ee6d29' 'eefa7511fef34d9fd50bf7e0d0c62123b38a234d706c772393f607fa019b9254')
sha256sums_aarch64=('8fac996755621f2c068dc754c765c33d64907860c03d9a67703d2faaaf14bf83' 'fea9115a2ce1f9f91e980c9fc5c614bcffefd78f2faf46d2f5bca47473549422')
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"
}