summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 630cc51594490ce07e4b53549d8f064c52210745 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# PKGBUILD for hexcompare
#
# Contributor: Uffe Jakobsen <microtop@starion.dk>
# Maintainer: Uffe Jakobsen <microtop@starion.dk>
#
pkgname=hexcompare
pkgver=1.0.4
pkgrel=1
epoch=
_pkgname=hexcompare
_pkgver=${pkgver}
pkgdesc="Curses-based utility to compare and identify differences between two binary files"
arch=("i686" "x86_64")
url="https://sourceforge.net/projects/hexcompare/"
license=("GPL3")
groups=()
depends=("ncurses")
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()
_srcdirname="${pkgname}/tags/v${pkgver}"
source=("git+https://github.com/svn2github/hexcompare.git")
md5sums=("SKIP")

#
#
#

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


prepare() {
  cd "${srcdir}/${_srcdirname}"
}

build() {
  cd "${srcdir}/${_srcdirname}"
  make
}

check() {
  cd "${srcdir}/${_srcdirname}"
}

package() {
  cd "${srcdir}/${_srcdirname}"
  install -m755 -D hexcompare "${pkgdir}/usr/bin/hexcompare"
  install -m755 -D README "${pkgdir}/usr/share/doc/${pkgname}/README"
}

#
# EOF
#