summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3bac79912778e41097731b028de4ff104206e03e (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
#_gitauthor="tuxnix"
#_gitbranch="master"
# Maintainer: tuxnix <tuxnix@gmx.com>

_name="ureminder"

pkgrel=1
pkgver=0.8.2
pkgname="$_name-git"
pkgdesc='Remind user upgrade packages and keeps package cache clean'

url='https://codeberg.org/tuxnix/ureminder'
arch=('any')
license=('GLPv2-only')

depends=('bash' 'curl' 'pup' 'systemd' 'libnotify' 'reflector' 'pacman-contrib')
makedepends=('git')

source=('git+https://codeberg.org/tuxnix/ureminder' $_name.install)
sha512sums=('SKIP' '48a82d85b679abddb558eb1e303a0998cc6f6e61ae8ad667a73bae9fed6c0e529625dab0b37af7d4c3720888e368682e8912d185a3eb08ed0c252981b9241bec')
install="$_name.install"

package() {
    cd "$srcdir/$_name"
    install -Dm755 $_name "$pkgdir/usr/bin/$_name"
    install -Dm644 $_name.mo "$pkgdir/usr/share/locale/de_DE/LC_MESSAGES/$_name.mo"
    install -Dm644 $_name.service "$pkgdir/usr/lib/systemd/system/$_name.service"
    install -Dm644 $_name.timer "$pkgdir/usr/lib/systemd/system/$_name.timer"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
}