summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98c9db9688688130731fdaa86d0d23c81a095fb7 (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
# Maintainer: Lars Niesen <lars.niesen@gmx.de>
pkgname=splan-notify-git
_name="${pkgname%-git}"
pkgver() { git -C "$_name" describe --tags | sed 's/^v//;s/-/.r/;s/-/./g'; }
pkgver=1.0.3
pkgrel=1

pkgdesc="Easily get Notifications from the StarPlaner timetables"
arch=('any')
url="https://github.com/TripleTrable/$_name"
license=('MIT')
depends=('curl' 'awk' 'libnotify' 'grep')
makedepends=('git')
source=("git+$url")
md5sums=('SKIP')

build() {
	cd "$_name"
	make ttParser
}

package() {
	cd "$_name"
	make PREFIX="/usr" DESTDIR="$pkgdir" install
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}