From 44e6967d26c839becdebec6875540262a1434cf6 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Fri, 4 Feb 2022 16:47:33 +0100 Subject: makepkg handles manpages, no need to gzip --- .SRCINFO | 2 +- PKGBUILD | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) mode change 100644 => 100755 .SRCINFO mode change 100644 => 100755 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO old mode 100644 new mode 100755 index 3b671ad..8ee84c0 --- a/.SRCINFO +++ b/.SRCINFO @@ -19,7 +19,7 @@ pkgbase = honk options = strip options = docs options = zipman - source = honk-0.9.6.tar.gz::https://humungus.tedunangst.com/r/honk/d/honk-0.9.6.tgz + source = honk-0.9.6.tar::https://humungus.tedunangst.com/r/honk/d/honk-0.9.6. sha512sums = d946be7796be2ef7dc565710351b0b27da947f4e65a2a8f52ec99624c66fb6fd5e21d3fa58fec691d944b4acfa6256b0ad1090f3f8f5191e6c3714f3eae99b29 pkgname = honk diff --git a/PKGBUILD b/PKGBUILD old mode 100644 new mode 100755 index c981b1a..8428845 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,7 +15,7 @@ optdepends=("nginx: for TLS and reverse proxying.") changelog="$pkgname.changelog" provides=("${pkgname}") conflicts=("${pkgname}" 'honk-hg') -source=("$pkgname-$pkgver.tar.gz::https://humungus.tedunangst.com/r/honk/d/$pkgname-$pkgver.tgz") +source=("$pkgname-$pkgver.tar::https://humungus.tedunangst.com/r/honk/d/$pkgname-$pkgver.") sha512sums=("d946be7796be2ef7dc565710351b0b27da947f4e65a2a8f52ec99624c66fb6fd5e21d3fa58fec691d944b4acfa6256b0ad1090f3f8f5191e6c3714f3eae99b29") options=(strip docs zipman) install="$pkgname.install" @@ -33,15 +33,15 @@ package() { install -Dm755 "$pkgname-$pkgver/$pkgname" -t "$pkgdir/usr/bin/" install -Dm644 "$pkgname-$pkgver"/views/* -t "$_PKG_HONKDIR/views/" install -Dm644 $DOCS/* -t "$_PKG_HONKDIR/docs/" - gzip -k -f $DOCS/*.{1,3,5,7,8} + ip -k -f $DOCS/*.{1,3,5,7,8} for i in {1,3,5,8}; do - install -Dm644 $DOCS/honk.$i.gz -t ${_MANDIR}$i/ + install -Dm644 $DOCS/honk.$i -t ${_MANDIR}$i/ done - install -Dm644 $DOCS/activitypub.7.gz ${_MANDIR}7/honk_activitypub.7.gz - install -Dm644 $DOCS/hfcs.1.gz ${_MANDIR}1/honk_hfcs.1.gz - install -Dm644 $DOCS/intro.1.gz ${_MANDIR}1/honk_intro.1.gz - install -Dm644 $DOCS/vim.3.gz ${_MANDIR}3/honk_vim.3.gz + install -Dm644 $DOCS/activitypub.7 ${_MANDIR}7/honk_activitypub.7 + install -Dm644 $DOCS/hfcs.1 ${_MANDIR}1/honk_hfcs.1 + install -Dm644 $DOCS/intro.1 ${_MANDIR}1/honk_intro.1 + install -Dm644 $DOCS/vim.3 ${_MANDIR}3/honk_vim.3 install -Dm644 "$pkgname-$pkgver"/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" install -Dm644 ../honk.service -t "$pkgdir/usr/lib/systemd/system/" -- cgit v1.2.3-70-g09d2