Make jigdo work again!

Disable Arch’s default buildflags and makeflags, and use db4.8.
Should be fine.
This commit is contained in:
Mike Swanson
2023-02-25 11:47:34 -08:00
parent 8689b04a57
commit cadcbd2f6d
2 changed files with 10 additions and 7 deletions

View File

@@ -1,15 +1,17 @@
pkgbase = jigdo pkgbase = jigdo
pkgdesc = Distribute large images by sending and receiving the files that make them up pkgdesc = Distribute large images by sending and receiving the files that make them up
pkgver = 0.8.1 pkgver = 0.8.1
pkgrel = 1 pkgrel = 2
url = https://www.einval.com/~steve/software/jigdo/ url = https://www.einval.com/~steve/software/jigdo/
arch = x86_64 arch = x86_64
license = GPL2 license = GPL2
makedepends = docbook-utils makedepends = docbook-utils
makedepends = docbook-sgml makedepends = docbook-sgml
makedepends = perl-sgmls makedepends = perl-sgmls
depends = db depends = db4.8
depends = wget depends = wget
options = !buildflags
options = !makeflags
source = https://www.einval.com/~steve/software/jigdo/download/jigdo-0.8.1.tar.xz source = https://www.einval.com/~steve/software/jigdo/download/jigdo-0.8.1.tar.xz
b2sums = 6619017716066d1ccea4812fcfd980be670979c086a42005fd585e78c761f2db2e4ede461ecedae8d60d04a60a348ce214fd64975b1712307972b56b1f899fae b2sums = 6619017716066d1ccea4812fcfd980be670979c086a42005fd585e78c761f2db2e4ede461ecedae8d60d04a60a348ce214fd64975b1712307972b56b1f899fae

View File

@@ -2,15 +2,16 @@
pkgname=jigdo pkgname=jigdo
pkgver=0.8.1 pkgver=0.8.1
pkgrel=1 pkgrel=2
pkgdesc="Distribute large images by sending and receiving the files that make them up" pkgdesc="Distribute large images by sending and receiving the files that make them up"
arch=('x86_64') arch=('x86_64')
url="https://www.einval.com/~steve/software/jigdo/" url="https://www.einval.com/~steve/software/jigdo/"
license=('GPL2') license=('GPL2')
depends=('db' 'wget') depends=('db4.8' 'wget')
makedepends=('docbook-utils' 'docbook-sgml' 'perl-sgmls') makedepends=('docbook-utils' 'docbook-sgml' 'perl-sgmls')
source=("${url}download/jigdo-${pkgver}.tar.xz") source=("${url}download/jigdo-${pkgver}.tar.xz")
b2sums=('6619017716066d1ccea4812fcfd980be670979c086a42005fd585e78c761f2db2e4ede461ecedae8d60d04a60a348ce214fd64975b1712307972b56b1f899fae') b2sums=('6619017716066d1ccea4812fcfd980be670979c086a42005fd585e78c761f2db2e4ede461ecedae8d60d04a60a348ce214fd64975b1712307972b56b1f899fae')
options=(!buildflags !makeflags)
prepare() { prepare() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
@@ -27,11 +28,11 @@ prepare() {
build() { build() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
./configure --prefix=/usr --without-gui --enable-nls CPPFLAGS=-I/usr/include/db4.8 ./configure --prefix=/usr --without-gui --enable-nls
# The compilation is stupid... seems to work just forcing it a few times # The compilation is stupid... seems to work just forcing it a few times
make -j1 || true make || true
make -j1 || true make || true
make make
} }