blob: 902ccd79c9afe842fb588d9e143cc9519943acb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Yichao Zhou <zyc@berkeley.edu>
_pkgname=wmidump
pkgname=${_pkgname}-git
pkgrel=3
pkgver=r13
conflicts=(${_pkgname})
provides=("${_pkgname}=$pkgver")
pkgdesc="Dump WMI informations from ACPI tables"
arch=('i686' 'x86_64')
url="https://github.com/iksaif/wmidump"
license=(unknown)
depends=()
makedepends=(git)
source=("${pkgname}"::'git+http://github.com/iksaif/wmidump')
sha256sums=('SKIP')
pkgver(){
cd "${srcdir}/${pkgname}"
echo r`git rev-list --count HEAD`
}
build(){
cd "${srcdir}/${pkgname}"
make
}
package(){
cd "${srcdir}/${pkgname}"
install -Dm755 ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
}
|