summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb58a342b4aa6d5d9931d4ea11e6c623b52fbeab (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
31
# Maintainer: katt <magunasu.b97@gmail.com>

pkgname=bmfdec-git
pkgver=r49.abb99dc
pkgrel=1
pkgdesc='Decompile binary MOF file (BMF) from WMI buffer (git master)'
arch=(x86_64)
url=https://github.com/pali/bmfdec
license=(GPL2)
depends=(glibc)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+"${url}".git)
md5sums=('SKIP')

# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.

pkgver() {
	cd "${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	make -C ${pkgname%-git}
}

package() {
	install -Dm755 -t "${pkgdir}/usr/bin" ${pkgname%-git}/bmf{2mof,dec,parse}
}