summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a09bc29db63879b70a6d4bf2b17626d722c8f502 (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
25
26
27
28
29
30
31
32
33
# Maintainer: Kemel Zaidan <kemelzaidan@gmail.com>
# Contributor: Emilio Reggi <nag@mailbox.org>
# Contributor: Mubashshir <ahmubashshir@gmail.com>
pkgname=update-notifier
pkgver=0.7.7
pkgrel=5
pkgdesc="A simple pacman update notifier"
arch=(any)
url="https://github.com/Chrysostomus/$pkgname"
license=('custom:MIT')
depends=('awk'
        'dunst>=1.3.2-2'
        'libnotify'
        'bash')
optdepends=('yaourt: for AUR support'
        'gnome-terminal: for integration with gnome-update-notifications'
        'pamac: for graphical update actions'
        'yay: for AUR support'
        'trizen: for AUR support'
        'pacaur: for AUR support')
makedepends=('git')
source=("git+https://github.com/Chrysostomus/$pkgname")
md5sums=('SKIP')

package () {
        cd "$srcdir"
        install -Dm644 "$srcdir/$pkgname/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
        install -Dm755 "$srcdir/$pkgname/update-notifier" "$pkgdir/usr/bin/update-notifier"
        install -Dm755 "$srcdir/$pkgname/update-checker" "$pkgdir/usr/bin/update-checker"
        install -Dm755 "$srcdir/$pkgname/update-check" "$pkgdir/usr/bin/update-check"
        install -Dm755 "$srcdir/$pkgname/update-command" "$pkgdir/usr/bin/update-command"
        install -Dm755 "$srcdir/$pkgname/update-help" "$pkgdir/usr/bin/update-help"
}