summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9bdeb786bd74adf8d4cc094ae601286ab9c19d3a (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: willemw <willemw12@gmail.com>
# Contributor: boenki <boenki at gmx dot de>
# Contributor: carstene1ns <url/mail: arch carsten-teibes de>

pkgname=jeex
pkgver=12.6.1
pkgrel=5
pkgdesc="Simple GTK+ hex editor"
arch=('x86_64')
#url="http://www.hds619.net/jeex.php"
url="http://sourceforge.net/projects/slackbuildsdirectlinks/files/jeex/"
license=('GPL3')
depends=('gtk2')
#backup=(etc/jeex.rc)
source=(http://sourceforge.net/projects/slackbuildsdirectlinks/files/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('7a6035de61d04b0dabb4b31fc356ac52')

_srcdir=$pkgname-${pkgver:0:4}

# Workaround for GCC 10
export CFLAGS="$CFLAGS -fcommon"

build() {
  cd $_srcdir
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

check() {
  cd $_srcdir
  make check
}

package() {
  cd $_srcdir
  make DESTDIR="$pkgdir/" install
}