summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 59f628be8db22525a6486e42b2d1a042956cdf14 (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
# Maintainer:  uffe < uffe at uffe dat org >

pkgname=hexcurse-ng
pkgver=1.70.0
pkgrel=1
pkgdesc="Versatile ncurses-based console hexeditor written in C"
arch=('i686' 'x86_64')
url="https://github.com/prso/hexcurse-ng/"
license=('GPL-2.0-only')
depends=('ncurses')
options=('!makeflags')
source=("${pkgname}-${pkgver}.tgz::https://github.com/prso/hexcurse-ng/archive/v${pkgver}.tar.gz")
sha256sums=('54d93391bc769173b7e584406e58aee1d01b56298a8acdd8abd9c90ccc1a7b5b')

prepare()
{
  cd "${srcdir}/${pkgname}-${pkgver}"
}

build()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --mandir=/usr/share/man

  make
}

package()
{
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}/" install
}

#
# EOF
#