diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = cheat pkgdesc = Allows you to create and view interactive cheatsheets on the command-line pkgver = 4.2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cheat/cheat arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ # Contributor: Bogdan <d0xi at inbox dot ru> pkgname=cheat pkgver=4.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') url="https://github.com/cheat/cheat" @@ -40,6 +40,7 @@ build() { # Generate man page pandoc -s -t man "doc/$pkgname.1.md" -o "doc/$pkgname.1" + gzip "doc/$pkgname.1" # Clean mod cache for makepkg -C go clean -modcache @@ -57,7 +58,7 @@ package() { install -Dm755 "scripts/$pkgname.zsh" "$pkgdir/usr/share/doc/$pkgname/_$pkgname" install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/$pkgname-LICENSE" - install -Dm644 "doc/$pkgname.1" -t "$pkgdir/usr/share/man/man1" + install -Dm644 "doc/$pkgname.1.gz" -t "$pkgdir/usr/share/man/man1" install -dm755 "$pkgdir/usr/share/$pkgname/cheatsheets/community" find "$srcdir/cheatsheets" \ |