35 lines
2.2 KiB
Bash
35 lines
2.2 KiB
Bash
# Maintainer: Bjarne Øverli <bjarne@oever.li>
|
|
pkgname=aether
|
|
pkgver=4.16.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=('c3cbc6afeaaa7a0a717a9b3f5c2cd34a91dbb3ec90665c5fa728e31d0eedc6a8')
|
|
sha256sums_x86_64=('096b2db48ddd363e53f1039a42572d3493d0081439bb693603082cbb23d907b3' '8e38a4f5aa84fc76ecdcde332bff4f89e7e5361fea4961f3ba00c5e3576dad31')
|
|
sha256sums_aarch64=('29d19b41df8a63295265ee66f9f4bce4e55907e99c87f1a23ae60a3804430a79' 'a31354adc0ee9f7e17bc221d9224c0bf0c78ec7fe3da240111da2a2295e26194')
|
|
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"
|
|
}
|