35 lines
2.2 KiB
Bash
35 lines
2.2 KiB
Bash
# Maintainer: Bjarne Øverli <bjarne@oever.li>
|
|
pkgname=aether
|
|
pkgver=4.15.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=('3bbcdff3283d2c978d58712b9a8bf45934e646732bc38e4817039a363eaeb6a1')
|
|
sha256sums_x86_64=('9df15426a9917a30fc88cebddef32650e70a6b099675f45163d36b833b961ccf' '30915fc764fe5a92d4bfadf43dedbf220ad00d49d5cbd6126998b859799d01b7')
|
|
sha256sums_aarch64=('6ff2029383206ef6720adb79437979530b2c24340a603832074ba4baf94b91cd' 'd71dcb9e3f61559f1d1d8baabf6527222a19ba7e0fee43854ff88e841357620a')
|
|
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"
|
|
}
|