🔒 Repository is read-only – file editing is disabled.

recipes/utils/jfsutils/PAGBUILD.yaml main

32 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132
pkgname: jfsutils
pkgver: '1.1.15'
pkgrel: '4'
pkgdesc: 'Administration and debugging tools for the jfs file system.'
url: 'https://jfs.sourgeforge.net'
arch: x86_64
depends: []
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