summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 134f7d8451afc32f088259401b2b5820fb6fdb83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer:
# Contributor: Vlad M. <vlad@archlinux.net>
# Contributor: Ankit R Gadiya <arch@argp.in>

pkgname=alert-after
pkgver=1.4.3
pkgrel=1
pkgdesc="Get a desktop notification after a command finishes executing"
arch=('i686' 'x86_64')
url="https://github.com/frewsxcv/alert-after"
license=('MIT' 'Apache')
depends=('dbus')
makedepends=('cargo')
source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('e0d80e1b4c9cb78f4759a78495f197fa3865eacf9658653ec14ddb010e117b3d')

build() {
  cd "${pkgname}-${pkgver}"
  cargo build --release
}

package() {
  install -Dm755 "${pkgname}-${pkgver}/target/release/aa" "$pkgdir/usr/bin/aa"
}