summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9a9644aed24117a63f0eadd2eb620a9f3bd675f (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
# Maintainer: Andreas B. Wagner <andreas.wagner@lowfatcomputing.org>
# Contributor: Michael Blum <michaeldblum@earthlink.net>
pkgname=xd
pkgver=1.4
pkgrel=1
pkgdesc='a utility for dumping files in hex, decimal, or octal'
arch=('i686' 'x86_64')
url="http://www.fourmilab.ch/xd"
license=('custom')
depends=('glibc')
makedepends=('gcc')
source=("http://www.fourmilab.ch/$pkgname/$pkgname-$pkgver.tar.gz" 'COPYING')
options=('zipman')
md5sums=('6493858c46570f9f9480261091ae8d12'
         '5cf61120e8516a804a13731920518974')

build() {
  cd $srcdir/
  make
}
package() {
  install -Dm755 xd $pkgdir/usr/bin/xd
  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
  install -Dm644 xd.1 $pkgdir/usr/share/man/man1/xd.1
}

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