blob: c1436e05c5728917b9fec4572b3dc77953e2ee32 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=desmume-highscore-git
pkgver=r6810.1907daed
pkgrel=1
pkgdesc="Highscore port of DeSmuME"
arch=('x86_64')
url="https://github.com/alice-mkh/desmume"
license=('GPL-2.0-or-later')
depends=('libhighscore-git' 'libpcap' 'sdl2')
makedepends=('git' 'meson')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/alice-mkh/desmume.git')
sha256sums=('SKIP')
pkgver() {
cd desmume
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd desmume/desmume/src/frontend
arch-meson highscore build
meson compile -C build
}
package() {
cd desmume/desmume/src/frontend
meson install -C build --destdir "$pkgdir"
}
|