aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-03-03 11:33:49 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-03-03 11:33:49 +0100
commita36fb7d6bf82fb1ec2fcf6520e0c89d94ecf4e19 (patch)
tree66f2f2101fef6a180fbf37c546d4af2b8c97fedc
parent41ba8e3adf935d9e8d4e56100d5c37dbd897fe04 (diff)
downloadaurbuilder-a36fb7d6bf82fb1ec2fcf6520e0c89d94ecf4e19.tar.gz
PKGBUILD for docs
-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
}