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

recipes/utils/dmidecode/PAGBUILD.yaml main

29 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829
pkgname: dmidecode
pkgver: '3.7'
pkgrel: '1'
pkgdesc: 'Desktop Management Interface table related utilities'
url: 'https://www.nongnu.org/dmidecode'
arch: x86_64
license:
- GPL2

depends: []
makedepends: []
source:
- 'https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

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

  sed -i "s:sbin:bin:g" Makefile

  make prefix=/usr CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
  make prefix=/usr DESTDIR=${PKGDIR} install

  install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE

package: |
  true