summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd592244ac20b53e01dc022e2e970f2dfb373955 (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: Caleb Johnson <me@calebj.io>
_pkgname=wmidump
pkgname=${_pkgname}-git
provides=wmidump
pkgrel=1
pkgver=r13
conflicts=wmidump
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}"
}