blob: 637c8abe150294bf9fc8ab3cca2dc53c2fbb2b31 (
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: Aleksej Komarov <stylemistake@gmail.com>
pkgname='mmapper-git'
_gitname='MMapper'
pkgver=23.05.0.r8.gd7efa7b1
pkgrel=1
pkgdesc='MUD (Multi-User Dungeon) mapper especially written for the MUD MUME'
arch=('x86_64')
url='https://github.com/MUME/MMapper'
license=('GPL2')
depends=('qt5-base' 'miniupnpc')
makedepends=('cmake' 'git')
provides=('mmapper')
conflicts=('mmapper')
source=("git+${url}")
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake -S "${_gitname}" -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build
}
# tests fail!
# check() {
# make -C build test
# }
package() {
make -C build DESTDIR="${pkgdir}" install
}
|