blob: b826c7262159e94a89504ab8853f09720353330a (
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
|
_pkgname=osmscout-server
_flavor=kirigami
pkgname=$_pkgname-$_flavor
pkgver=2.2.0
pkgrel=1
arch=("x86_64" "aarch64")
url="https://github.com/rinigus/osmscout-server"
source=("$_pkgname-$pkgver::git+${url}#tag=$pkgver")
sha256sums=('SKIP')
depends=("mapnik" "valhalla" "libpostal" "marisa" "kyotocabinet" "qt5-location" "libmicrohttpd")
provides=("osmscout-server")
conflicts=("osmscout-server")
license=("GPL3")
prepare() {
cd "$_pkgname-$pkgver"
git submodule update --init --recursive
}
build() {
mkdir build
cd build
qmake PREFIX=/usr SCOUT_FLAVOR=$_flavor ../"$_pkgname-$pkgver"/osmscout-server.pro
make
}
package() {
make -C build INSTALL_ROOT="$pkgdir" install
}
|