archrelease: copy trunk to community-any
[arch-community.git] / virt-what / trunk / PKGBUILD
blobc31f75d9de7bbe9f1b04fd9690feb23a0b7326ea
1 # Maintainer: Tim Meusel <tim@bastelfreak.de>
2 # Contributor: Christian Hesse <mail@eworm.de>
3 # Contributor: Thomas S Hatch <thatch45 (at) Gmail (dot) com>
5 pkgname=virt-what
6 pkgver=1.25
7 pkgrel=1
8 license=('GPL')
9 arch=('x86_64')
10 depends=('dmidecode')
11 pkgdesc='A small program that prints out a list of facts about a virtual machine'
12 url='http://people.redhat.com/~rjones/virt-what/'
13 validpgpkeys=('F7774FB1AD074A7E8C8767EA91738F73E1B768A0')
14 source=("https://people.redhat.com/~rjones/virt-what/files/${pkgname}-${pkgver}.tar.gz"{,.sig})
15 sha512sums=('0147b4b44ae0ee685977aa34dfa9bf30ae8e0eb31b7a6d5c0097d16f830fa6fb6afd7156964fc79f3fd5e82b2f68d921fd5306245cc63a2140f6dddc7fdd0e98'
16             'SKIP')
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
21   ./configure
22   sed -i '/^sbindir/c sbindir = /usr/bin' Makefile
23   make
26 package() {
27   cd "${srcdir}/${pkgname}-${pkgver}"
29   make libexecdir=/usr/bin prefix=/usr DESTDIR=${pkgdir} install