From a36fb7d6bf82fb1ec2fcf6520e0c89d94ecf4e19 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 3 Mar 2024 11:33:49 +0100 Subject: PKGBUILD for docs --- pkgbuild/PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pkgbuild/PKGBUILD') 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 } -- cgit v1.2.3