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

recipes/core/pax/PAGBUILD.yaml main

26 lines Raw ← Back
1234567891011121314151617181920212223242526
pkgname: pax
pkgver: '20240817'
pkgrel: '3'
pkgdesc: copies files to and from archives in several formats.
url: 'https://downloads.sourceforge.net/heirloom'
arch: x86_64
depends: []
makedepends: []
source:
- 'http://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${pkgver}.tgz'
sha256sums:
- e955d5d3af97aede0a3f463a9a59b83e8d1083aaf142eb6f388c549a7d182e6b
build: |
  # UWAGA: pagbuild sam tworzy alias ${pkgname}-${pkgver} -> ${pkgname} (patrz
  # „🔗 Alias: pax-20240817 -> pax” w logu). Ręczne `mv` przenosiło więc katalog
  # sam w siebie: "cannot move 'pax' to a subdirectory of itself".
  cd ${pkgname}-${pkgver}
  bash Build.sh

  install -v -dm 755 ${PKGDIR}/usr/bin
  install -v -dm 755 ${PKGDIR}/usr/share/man/man1
package: |
  cd ${pkgname}-${pkgver}
  install -Dm755 pax ${PKGDIR}/usr/bin/pax
  install -Dm644 pax.1 ${PKGDIR}/usr/share/man/man1/pax.1