blob: afe5f12aa5a233155c23c4bf5b6fdc41a2fd1238 (
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=2.4.0
pkgrel=1
pkgdesc="Command line 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
}
|