PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/jfsutils/PAGBUILD.yaml main

33 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233
pkgname: jfsutils
pkgver: '1.1.15'
pkgrel: '5'
pkgdesc: 'Administration and debugging tools for the jfs file system.'
url: 'https://jfs.sourgeforge.net'
arch: x86_64
depends:
- util-linux
makedepends:
- 'util-linux'

source:
- 'jfsutils-1.1.15-gcc10_fix-1.patch'
- 'https://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  patch -Np1 -i ../jfsutils-1.1.15-gcc10_fix-1.patch

  sed "s@<unistd.h>@&\n#include <sys/types.h>@g" -i fscklog/extract.c
  sed -i "/ioctl.h/a#include <sys/sysmacros.h>" libfs/devices.c

  ./configure --prefix=/usr --sbindir=/usr/bin
  make
  make DESTDIR=${PKGDIR} install

package: |
  true