diff options
author | Yamakaky | 2016-11-11 18:03:39 -0500 |
---|---|---|
committer | Yamakaky | 2016-11-11 18:03:39 -0500 |
commit | 224c58eb5142715277fcd3c512c377a6cba86d15 (patch) | |
tree | 29d37ec99932e21146bf8a46a17e5f587f5c108e /PKGBUILD | |
download | aur-224c58eb5142715277fcd3c512c377a6cba86d15.tar.gz |
First version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7809833916b2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Yamakaky <yamakaky@yamaworld.fr> +pkgname=bloaty-git +pkgver=0.0.0.r68.g263f2ef +pkgrel=1 +pkgdesc="A size profiler for binaries" +arch=("x86_64" "x86") +url="https://github.com/google/bloaty" +license=("Apache v2.0") +makedepends=("git" "gcc") +source=("git+https://github.com/google/bloaty") +md5sums=("SKIP") + +pkgver() { + cd bloaty + printf "0.0.0.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/bloaty" + make +} + +package() { + install -D "$srcdir/bloaty/bloaty" "$pkgdir/usr/bin/bloaty" +} |