aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 026a626d6cd19aba766a3d9c3cd52f816f6a3458 (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=file2key
pkgver=1
pkgrel=1
pkgdesc="A simple command that generates a key from a file and a passphrase"
arch=(i686 x86_64)
url="https://github.com/maandree/file2key"
license=('GPL3')
depends=(gcc glibc libpassphrase)
makedepends=(make coreutils gcc glibc libpassphrase)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(d2cba060a2d361f7de969f2281f68c815f2c5649bade2bfef0eb9427fd61f7b0)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  export LDFLAGS="${LDFLAGS/,--as-needed/}"
  make PREFIX=/usr
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr install DESTDIR="$pkgdir"
}