summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArkadiy Illarionov2022-12-29 01:17:35 +0300
committerArkadiy Illarionov2022-12-29 01:17:35 +0300
commitf73945d5854c9f7977f82a8625f8438fffe246f9 (patch)
treec70d8a7632b51f4301eaa54d480a936ef135a801
parent0ae0c6cca998d8e8aa7cca31a89851d8a2a504e0 (diff)
downloadaur-f73945d5854c9f7977f82a8625f8438fffe246f9.tar.gz
Add man page
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc21b91d5964..44e29537fb56 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fheroes2
pkgdesc = Recreation of the Heroes of Might and Magic II game engine
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://ihhub.github.io/fheroes2/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 7e6c0ac2cabf..1320161e99a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=fheroes2
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Recreation of the Heroes of Might and Magic II game engine"
arch=('i686' 'x86_64' 'armv7h')
url="https://ihhub.github.io/fheroes2/"
@@ -13,7 +13,7 @@ optdepends=('curl: download demo version files'
makedepends=('cmake' 'gettext' 'ninja')
conflicts=('fheroes2-git')
source=(
- $pkgname-$pkgver.tar.gz::https://github.com/ihhub/$pkgname/archive/$pkgver.tar.gz
+ "$pkgname-$pkgver.tar.gz::https://github.com/ihhub/$pkgname/archive/$pkgver.tar.gz"
)
sha256sums=('80468b4eaf128ac5179a3416a02e2a2ef4ab34d90876b179fccd8d505f950440')
@@ -24,6 +24,8 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
+
+ make -C docs
}
package() {
@@ -32,6 +34,8 @@ package() {
DESTDIR="$pkgdir" cmake --install build
install -dm755 "$pkgdir/usr/share/fheroes2/maps"
+
+ install -Dm644 docs/fheroes2.6 "$pkgdir/usr/share/man/man6/fheroes2.6"
}
# vim:set ts=2 sw=2 et: