PKGBUILD 1.3 KB
Newer Older
Matti Hyttinen's avatar
Matti Hyttinen committed
1 2 3
# Maintainer: Chrysostomus @forum.manjaro.org

pkgname=update-notifier
Stefano Capitani's avatar
Stefano Capitani committed
4
pkgver=0.7.7
Philip Müller's avatar
Philip Müller committed
5
pkgrel=3
Matti Hyttinen's avatar
Matti Hyttinen committed
6 7 8 9 10
pkgdesc="A simple pacman update notifier"
arch=(any)
url="https://github.com/Chrysostomus/$pkgname"
license=('MIT')
depends=('awk'
Philip Müller's avatar
Philip Müller committed
11 12
        'dunst>=1.3.2-2'
        'libnotify'
Matti Hyttinen's avatar
Matti Hyttinen committed
13 14 15 16 17 18 19
        'fakeroot'
        'mhwd')
optdepends=('yaourt: for AUR support'
        'gnome-terminal: for integration with gnome-update-notifications'
        'pamac: for graphical update actions'
        'manjaro-settings-manager: for graphical kernel changing')
makedepends=('git')
Stefano Capitani's avatar
Stefano Capitani committed
20 21 22 23 24 25 26 27 28
source=("git://github.com/Chrysostomus/$pkgname"
		'pamac-update.patch::https://github.com/Chrysostomus/update-notifier/pull/23/commits/2467f6f1c8e6e1e47db95ac24d1070cc8ebcd24f.patch')
md5sums=('SKIP'
         'b40a0af64008acba4efcdf00f8f2bac9')
	
prepare() {
	cd $pkgname
	patch -p1 -i ../pamac-update.patch
}
Matti Hyttinen's avatar
Matti Hyttinen committed
29 30 31 32 33 34 35 36 37

package () {
	cd "$srcdir"
        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"
}