summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 781e85c67d7b76416cf4a9acad56854d27b8a3cb (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
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>

pkgname=go-xxd
pkgver=1.0
pkgrel=1
pkgdesc='Fast, standalone drop-in replacement for xxd'
arch=('x86_64' 'i686')
url='https://github.com/felixge/go-xxd/'
license=('unknown')
makedepends=('go' 'git' )
conflicts=('vim')
source=("git+https://github.com/felixge/go-xxd#commit=0e80be1")
md5sums=('SKIP')

build() {
  cd "$pkgname"

  go build -x
}

package() {
  cd "$pkgname"

  install -Dm755 go-xxd "$pkgdir/usr/bin/xxd"
#  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: