blob: e148c3ebb85f41abae5e0a0c262d0c65a5a4813e (
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
36
37
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=libhighscore-git
pkgver=r74.f6a347b
pkgrel=1
pkgdesc="A shared library for Highscore cores"
arch=('x86_64')
url="https://gitlab.gnome.org/alicem/libhighscore"
license=('LGPL-2.1-or-later')
depends=(
'glib2'
)
makedepends=(
'gi-docgen'
'git'
'glib2-devel'
'gobject-introspection'
'meson'
'vala'
)
provides=("${pkgname%-git}" 'libhighscore-1.so')
conflicts=("${pkgname%-git}")
source=('git+https://gitlab.gnome.org/alicem/libhighscore.git')
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
arch-meson "${pkgname%-git}" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|