blob: 2d083ce4493379c978ff3cd14a5e227c06e814a4 (
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
31
32
33
34
35
|
# Maintainer: Craig <fast dot code dot studio at gmail dot com>
pkgname=aweather-git
provides=('aweather')
pkgver=0.9.0.r5
pkgrel=1
pkgdesc="Free real-time weather data viewer designed for weather enthusiasts."
arch=('aarch64' 'x86_64')
url="http://pileus.org/aweather/"
license=('GPL3')
depends=("grits" 'mesa' 'rsl')
optdepends=('gpsd')
source=('git+https://github.com/i3Craig/aweather.git')
sha512sums=('SKIP')
# Generate a version number based on the number of commits to the default branch.
pkgver() {
cd aweather
printf "0.9.0.r%s" "$(git rev-list --count HEAD)"
}
prepare() {
cd aweather
./configure --prefix=/usr LIBS=-lgthread-2.0
}
build() {
cd aweather
make
}
package() {
cd aweather
make DESTDIR="${pkgdir}" install
}
|