summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6989b3a136db3ed11005f91585ec760cbbd49ef9 (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
# Contributor: Ruslan Tokaev <polygynous@live.ru>
# Maintainer: Ruslan Tokaev <polygynous@live.ru>

pkgname=fehashmac

pkgver=2.1
pkgrel=1

pkgdesc="Generic Hash and HMAC Program"
arch=('i686' 'x86_64')
url="http://fehashmac.sourceforge.net/"
license=('GPL')
depends=(glibc)
source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
md5sums=(3e12e2f85b296f3b31eff3681c712558)

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

  ./configure \
  --prefix=/usr \
  --exec-prefix=/usr \
  --bindir=/usr/bin \
  --sbindir=/usr/sbin \
  --libexecdir=/usr/lib/$pkgname \
  --sysconfdir=/etc \
  --libdir=/usr/lib \
  --includedir=/usr/include \
  --datarootdir=/usr/share/$pkgname \
 --mandir=/usr/share/man \
  --datadir=/usr/share/$pkgname \
  --enable-dependency-tracking \
  --sysconfdir=/etc

  make || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR=$pkgdir prefix="$pkgdir/usr" install || return 1
}