diff options
author | Yichao Zhou | 2015-12-24 23:51:29 -0800 |
---|---|---|
committer | Yichao Zhou | 2015-12-24 23:51:29 -0800 |
commit | d99cde1574d5e89f410c12682e27754ade8998c4 (patch) | |
tree | 1df66778655f2ec6da2a9c3978258691bf69d867 /PKGBUILD | |
download | aur-d99cde1574d5e89f410c12682e27754ade8998c4.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cd592244ac20 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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}" +} |