[arch-commits] Commit in imvirt/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:25:25 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:25:24
  Author: felixonmars
Revision: 649790

archrelease: copy trunk to community-staging-x86_64

Added:
  imvirt/repos/community-staging-x86_64/
  imvirt/repos/community-staging-x86_64/PKGBUILD
    (from rev 649788, imvirt/trunk/PKGBUILD)

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

Copied: imvirt/repos/community-staging-x86_64/PKGBUILD (from rev 649788, imvirt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 16:25:24 UTC (rev 649790)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributors: henning mueller <henning at orgizm.net>
+
+pkgname=imvirt
+pkgver=0.9.6
+pkgrel=7
+pkgdesc='Detect the virtualization technology of a machine, it is run in'
+url='http://micky.ibh.net/~liske/imvirt.html'
+arch=('x86_64')
+license=('GPL2')
+depends=('perl' 'dmidecode' 'perl-module-find' 'perl-file-slurp' 'perl-data-dumper')
+options=('!emptydirs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/DE-IBH/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('a3e6d8d6ff48f8e97c448443c0a5bff4d50db4721704e083be74c3dba78b43422678a8fd93841d82a7f34e12a70cb578a2052f9898817efe5101e4a2d21d5f0b')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed 's|/usr/sbin|/usr/bin|g' -i perl/lib/ImVirt/Utils/dmidecode/pipe.pm
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list