Files
jigdo/PKGBUILD
Mike Swanson d2511e920c Update to 0.8.0
Thanks to @ArkadST for letting me know about the new upstream.

Unfortunately it doesn’t seem to be quite nicely cleaned up, I ended
up finding that running “make” multiple times forces a build to work.
2020-05-12 15:44:26 -07:00

44 lines
1.0 KiB
Bash

# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=jigdo
pkgver=0.8.0
pkgrel=1
pkgdesc="Distribute large images by sending and receiving the files that make them up"
arch=('x86_64')
url="https://www.einval.com/~steve/software/jigdo/"
license=('GPL2')
depends=('db' 'wget')
makedepends=('docbook-utils' 'docbook-sgml' 'perl-sgmls')
source=("${url}download/jigdo-${pkgver}.tar.xz")
b2sums=('0d3ef3c50394174fb6d5c9b6f8e5cdbffe86d428b7c4c4552025678ffbdba88331aa58e4b6a7594e67866fcba6531fdcae20aa0feb1abd82f5264df585360567')
prepare() {
cd "$pkgname-$pkgver"
for patch in ../*.patch; do
if [ ! -f "$patch" ]; then
break;
else
patch -p1 -i "$patch"
fi
done
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --without-gui --enable-nls
# The compilation is stupid... seems to work just forcing it a few times
make -j1 || true
make -j1 || true
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
chmod -x "$pkgdir"/usr/share/man/man1/*
}