blob: 5a9f9223649d1229e23a3153cffa7b8adf13b212 (
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: Antony Kellermann <aokellermann@gmail.com>
pkgname=tick
pkgver=3.0.1
pkgrel=1
pkgdesc="Command line and GTK stock and cryptocurrency portfolio tracker."
arch=('x86_64')
url="https://github.com/aokellermann/${pkgname}"
license=('MIT')
depends=('curl' 'json-c' 'ncurses' 'gtk3' 'cairo' 'libglade')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("git://github.com/aokellermann/${pkgname}")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
git checkout $(git rev-list --tags --max-count=1) # Checks out latest tag instead of latest commit
CPPFLAGS="$CPPFLAGS -O2"
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="'$pkgdir'/usr" install
}
|