[arch-commits] Commit in dmidecode/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 09:47:31 UTC 2020


    Date: Tuesday, May 19, 2020 @ 09:47:30
  Author: foutrelis
Revision: 386596

archrelease: copy trunk to staging-x86_64

Added:
  dmidecode/repos/staging-x86_64/
  dmidecode/repos/staging-x86_64/PKGBUILD
    (from rev 386595, dmidecode/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: dmidecode/repos/staging-x86_64/PKGBUILD (from rev 386595, dmidecode/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 09:47:30 UTC (rev 386596)
@@ -0,0 +1,28 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=dmidecode
+pkgver=3.2
+pkgrel=2
+pkgdesc="Desktop Management Interface table related utilities"
+arch=('x86_64')
+url="https://www.nongnu.org/dmidecode"
+license=('GPL')
+depends=('glibc')
+source=("https://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('077006fa2da0d06d6383728112f2edef9684e9c8da56752e97cd45a11f838edd'
+            'SKIP')
+validpgpkeys=('90DFD6523C57373D81F63D19865688D038F02FC8') # Jean Delvare <khali at linux-fr.org>
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  sed -i "s:sbin:bin:g" Makefile
+  make prefix=/usr CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make prefix=/usr DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list