summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41232d88a942440093bbe4fc117b1b754f5f2b3e (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
# Maintainer: Axel McLaren <scm(at)axml(dot)uk>
# Contributor: Bing-Hua Wang <louiswpf@gmail.com>
# Contributor: Michael Duell <michael.duell@rub.de> PGP Key: 5566FF77 Fingerprint: FF8C D50E 66E9 5491 F30C  B75E F32C 939C 5566 FF77
# Contributor: Juergen Hoetzel <juergen@hoetzel.info>
# Contributor: Joerie de Gram <j.de.gram@gmail.com>
# Contributor: bender02 at archlinux dot us

pkgname=aespipe
pkgver=2.4h
pkgrel=1
pkgdesc="Encrypts data from stdin to stdout"
arch=('i686' 'x86_64' 'armv7h')
url="http://loop-aes.sourceforge.net"
license=('GPL')
depends=('sharutils')
source=(http://loop-aes.sourceforge.net/${pkgname}/${pkgname}-v${pkgver}.tar.bz2{,.sign})
sha384sums=('8d629e062caa8b5c531ca3b209986aaadb5ee5e435f3f9336fc0dce245ef63812e83a6922f78b54779cecca78853e8de'
            'SKIP')
# Please manually verify that the Signer PGP key is the correct one.
# If you are lazy and don't care about security you can enable
# the validpgpkeys line below.
#validpgpkeys=('12D64C3ADCDA0AA427BDACDFF0733C808132F189') # Jari Ruusu

build() {
  cd "$srcdir/$pkgname-v$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-v$pkgver"
  make tests
}

package() {
  cd "$srcdir/$pkgname-v$pkgver"
  make prefix="$pkgdir/usr" install
  install -d -m755 "$pkgdir"/usr/{bin,share/doc/$pkgname}
  install -D -m755 bz2aespipe "$pkgdir"/usr/bin/
  install -D -m644 README ChangeLog "$pkgdir"/usr/share/doc/$pkgname/
}