# Maintainer: Toqoz <https://github.com/Toqozz/wired-notify>

pkgname=wired-bin
pkgver=0.10.6
pkgrel=1
pkgdesc="Lightweight notification daemon with highly customizable layout blocks, written in Rust."
arch=('x86_64')
url="https://github.com/Toqozz/wired-notify"
license=('MIT')
depends=('dbus' 'cairo' 'pango' 'glib2' 'libx11' 'libxss')
provides=('wired')
conflicts=('wired')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Toqozz/wired-notify/releases/download/${pkgver}/wired_${pkgver}_x86_64.tar.gz")
sha256sums=('5d4b1e73af02475d34d4970d40b90160bd420f299343c995471049bf8b683f05')


package() {
    cd "${srcdir}"

    # Install binary.
    install -Dm 755 "bin/wired" "${pkgdir}/usr/bin/wired"

    # Install MIT license
    install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/wired/LICENSE-MIT"
}
