35 lines
2.2 KiB
Bash
35 lines
2.2 KiB
Bash
# Maintainer: Bjarne Øverli <bjarne@oever.li>
|
|
pkgname=aether
|
|
pkgver=4.5.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=('83b19f5fe4d8bb2cc0d3daf864596f7c7e6302b81f7449a7cfe0ba5e999e2ecf')
|
|
sha256sums_x86_64=('787f6b382d3cca22caef16b0a9af0dfbddfb71c2e6a6bc1b8032cd8ac66e6861' '519ac8680cf576ad5cd614da5e29ebbea32eb66d925b9fc826cd585e8a21c09f')
|
|
sha256sums_aarch64=('0c2096a886a5b4c846082780d61788825b1a175814e12a54e14f14467cfd86da' 'e4506c5ca6042ee3798e04f96462c44f4671a1e426b7efa5f4e5afcda6369463')
|
|
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"
|
|
}
|