summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8ef3004907a740bc519c85c1f5de4a7353cb982 (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
# $Id: PKGBUILD 194006 2016-10-30 14:58:09Z arodseth $
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>

pkgname=elfinfo
pkgver=0.5
pkgrel=1
pkgdesc='Detect which compiler version was used for compiling an ELF file'
arch=('any')
url='http://elfinfo.roboticoverlords.org/'
license=('MIT')
makedepends=('go' 'git')
source=("git+https://github.com/xyproto/elfinfo#tag=$pkgver")
sha256sums=('SKIP')

build() {
  cd "$pkgname"

  go build
}

package() {
  install -Dm755 "$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
}

# vim: ts=2 sw=2 et: