From d0c07c7a2982141d355ac4d2c42833bfca0e9870 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 17 Feb 2018 13:37:44 +0100 Subject: Fixed pkgbuild again --- linux/makepkg/PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'linux/makepkg/PKGBUILD') diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index e805bf3..009043c 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Aqua-sama pkgname=smolbote-hg -pkgver=r222.771a73c12a09 +pkgver=r223.17174e74b988 pkgrel=1 pkgdesc='Yet another no-frills browser' url="https://neueland.iserlohn-fortress.net/smolbote" @@ -72,6 +72,7 @@ package() { ninja install # man page - mkdir -p "$pkgdir/usr/local/share/man/man7" - gzip --keep --to-stdout "$srcdir/smolbote-hg/linux/man/smolbote.7" > "$pkgdir/usr/local/share/man/man7/smolbote.7.gz" + _man_dir="$pkgdir/usr/local/man/man7" + test -d $_man_dir || mkdir -p $_man_dir + gzip --keep --to-stdout "$srcdir/smolbote-hg/linux/man/smolbote.7" > "$_man_dir/smolbote.7.gz" } -- cgit v1.2.1