summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-12-03 08:31:39 -0700
committerMark Wagie2020-12-03 08:31:39 -0700
commit8d369d6e86271c95a9273e75d4632f9ace98ad24 (patch)
tree55953a77dceb27bc7691cd1c99311193a937ec0f
parentc6125256df50b02a94bc4f347f77b36cd0ffaa40 (diff)
downloadaur-8d369d6e86271c95a9273e75d4632f9ace98ad24.tar.gz
compress man page
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD5
3 files changed, 12 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 891db05eb5fb..088e1187948e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 963c48364ebd..31e37a1f5c33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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" \