upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / toastify / trunk / PKGBUILD
blobe310ed01d7f89fd6f15a26b6a3cffe764e8826c6
1 # Maintainer: Daniel M. Capella <polyzen@archlinux.org>
3 pkgname=toastify
4 pkgver=0.5.2
5 pkgrel=1
6 pkgdesc='Commandline tool that shows desktop notifications using notify-rust'
7 arch=('x86_64')
8 url=https://github.com/hoodie/toastify
9 license=('Apache' 'MIT')
10 depends=('dbus')
11 makedepends=('rust')
12 source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
13 b2sums=('73dc40a9baa2cc6ea839f2aa1c005b850d642b2327ee52d4b5b481d3a9bf293801402ece2f3826def259a4b30c614b78df32222442df9206cf8b408c4dd036b2')
15 prepare() {
16   cd $pkgname-$pkgver
17   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
20 build() {
21   cd $pkgname-$pkgver
22   cargo build --release --locked --offline
25 package() {
26   cd $pkgname-$pkgver
27   install -Dt "$pkgdir"/usr/bin target/release/$pkgname
28   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT