blob: e1344216fc567e5a5f572631051a522e3731805e (
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=grits-git
provides=('grits')
pkgver=0.8.1.r5
pkgrel=1
pkgdesc="Virtual Globe library using GTK+ and OpenGL"
arch=('aarch64' 'x86_64')
url="http://pileus.org/aweather/grits"
license=('GPL3')
depends=('gtk2' 'libsoup' 'libglvnd' 'glu')
options=('!libtool')
source=('git+https://github.com/i3Craig/grits.git')
sha512sums=('SKIP')
# Generate a version number based on the number of commits to the default branch.
pkgver() {
cd grits
printf "0.8.1.r%s" "$(git rev-list --count HEAD)"
}
prepare() {
cd grits
./configure --prefix=/usr LIBS=-lgmodule-2.0
}
build() {
cd grits
make
}
package() {
cd grits
make DESTDIR="${pkgdir}" install
}
|