aboutsummaryrefslogtreecommitdiff
path: root/pkgbuild
diff options
context:
space:
mode:
Diffstat (limited to 'pkgbuild')
-rw-r--r--pkgbuild/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgbuild/PKGBUILD b/pkgbuild/PKGBUILD
index 8fb36f4..ac9ba93 100644
--- a/pkgbuild/PKGBUILD
+++ b/pkgbuild/PKGBUILD
@@ -8,7 +8,7 @@ url="https://gitea.lauch.link/jonas/aurbuilder"
license=('MIT')
groups=()
depends=( podman bash pacman )
-makedepends=()
+makedepends=( gzip )
optdepends=()
source=(git+$url.git)
sha256sums=( SKIP )
@@ -23,7 +23,10 @@ pkgver() {
}
build() {
- cd "$pkgname"
+ cd "$srcdir/$pkgname"
+
+ cd doc
+ gzip "aurbuilder.7"
}
package() {
@@ -36,4 +39,6 @@ package() {
install -Dt $pkgdir/usr/lib/aurbuilder scripts/*
install -Dt $pkgdir/usr/lib/systemd/system unitfiles/*
install -Dt $pkgdir/etc/aurbuilder configs/*
+
+ install -Dt $pkgdir/usr/share/man/man7 doc/aurbuilder.7.gz
}