summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f301075ab95b93f9de738dad38cb9d273d1b30a (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
# Maintainer: Philipp A. <flying-sheep@web.de>
pkgname=terrafirma
pkgver=3.1.13
pkgrel=2
pkgdesc='Mapping for Terraria'
arch=(x86_64 aarch64 armv7h)
url='http://seancode.com/terrafirma'
license=(BSD-2-Clause)
depends=(qt6-base)
makedepends=(cmake)
source=("$pkgname-$pkgver.tar.gz::https://github.com/mrkite/TerraFirma/archive/$pkgver.tar.gz")
sha256sums=('fd09c8015d6540eb7be7356d4708c93a76279e679d6ad2e13d1acb412f5e5de6')

build() {
	cd "$srcdir/TerraFirma-$pkgver"
	mkdir -p build
	cd build

	cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH="$pkgdir/usr" ..
	make
}

package() {
	cd "$srcdir/TerraFirma-$pkgver"
	(cd build; make install)
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}