35 lines
2.2 KiB
Bash
35 lines
2.2 KiB
Bash
# Maintainer: Bjarne Øverli <bjarne@oever.li>
|
|
pkgname=aether
|
|
pkgver=4.27.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=('82207b200b8507e2c45cdf5201a19941617ab950ed0dfb6cc441f9e59ef3e70b')
|
|
sha256sums_x86_64=('1b5183fac3812cf31dde244be7270287e13ccba98437b268a0c495ecfd8e8919' '079af6812a16d114e8fc4fe131eb6dd6df20c5c56e6282c9e6c30be822609811')
|
|
sha256sums_aarch64=('9b04566dfadecc1e1822deff838393df22b27f2df51c6191a26d8722532140b8' 'cc4198adbb07b9ed357811fe00ee43f31fab06e01d32243db69b839a74460a79')
|
|
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"
|
|
}
|