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

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 12:15:57 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:15:57
  Author: foutrelis
Revision: 366717

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: imvirt/repos/community-staging-x86_64/PKGBUILD (from rev 366716, imvirt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 12:15:57 UTC (rev 366717)
@@ -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=4
+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