summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8af93076f4ebedb9006b54236d52f4db0467838a (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
# 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=6
pkgdesc="A simple pacman update notifier"
arch=(any)
url="https://github.com/Chrysostomus/$pkgname"
license=('MIT')
depends=('awk'
        'notification-daemon'
        '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.git#commit=38cc29b60ddf79b64a602fbf6341920ebb4d43d2")
sha256sums=('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"
}