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

recipes/utils/gptfdisk/PAGBUILD.yaml main

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: gptfdisk
pkgver: '1.0.10'
pkgrel: '2'
pkgdesc: 'Partitioning tool that works on Globally Unique Identifier Partition Table disks'
url: 'https://www.rodsbooks.com/gdisk/index.html'
arch: x86_64
depends: []
makedepends:
- popt
- icu

source:
- 'https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz'
- 'https://www.linuxfromscratch.org/patches/blfs/svn/${pkgname}-${pkgver}-convenience-1.patch'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../${pkgname}-${pkgver}-convenience-1.patch
  sed -i 's|ncursesw/||' gptcurses.cc
  make POPT=1 ICU=1

  install -d ${PKGDIR}/usr/{bin,share/man/man8}
  install -t ${PKGDIR}/usr/bin {,c,s}gdisk fixparts
  install -m644 -t ${PKGDIR}/usr/share/man/man8 {{,c,s}gdisk,fixparts}.8

package: |
  true