diff options
author | Mark Wagie | 2020-12-03 08:31:39 -0700 |
---|---|---|
committer | Mark Wagie | 2020-12-03 08:31:39 -0700 |
commit | 8d369d6e86271c95a9273e75d4632f9ace98ad24 (patch) | |
tree | 55953a77dceb27bc7691cd1c99311193a937ec0f | |
parent | c6125256df50b02a94bc4f347f77b36cd0ffaa40 (diff) | |
download | aur-8d369d6e86271c95a9273e75d4632f9ace98ad24.tar.gz |
compress man page
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 5 |
3 files changed, 12 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = cheat-git pkgdesc = Allows you to create and view interactive cheatsheets on the command-line - pkgver = 4.1.0.r0.g82e1c27 + pkgver = 4.2.0.r0.g883a170 pkgrel = 1 url = https://github.com/cheat/cheat arch = i686 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c4daeee9d8b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO +!conf.yml @@ -3,7 +3,7 @@ # Contributor: Bogdan <d0xi at inbox dot ru> # Contributor: Quan Guo <guotsuan@gmail.com> pkgname=cheat-git -pkgver=4.1.0.r0.g82e1c27 +pkgver=4.2.0.r0.g883a170 pkgrel=1 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') @@ -45,6 +45,7 @@ build() { # Generate man page pandoc -s -t man "doc/${pkgname%-git}.1.md" -o "doc/${pkgname%-git}.1" + gzip "doc/$pkgname.1" # Clean mod cache for makepkg -C go clean -modcache @@ -64,7 +65,7 @@ package() { install -Dm644 LICENSE.txt \ "$pkgdir/usr/share/licenses/${pkgname%-git}/${pkgname%-git}-LICENSE" - install -Dm644 "doc/${pkgname%-git}.1" -t "$pkgdir/usr/share/man/man1" + install -Dm644 "doc/${pkgname%-git}.1.gz" -t "$pkgdir/usr/share/man/man1" install -dm755 "$pkgdir/usr/share/${pkgname%-git}/cheatsheets/community" find "$srcdir/cheatsheets" \ |