diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-17 23:37:40 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-17 23:37:40 +0200 |
commit | 54b3ab50c577e988dc577ec8b6d8a42dfd047c43 (patch) | |
tree | 8b714fc65c5d33cf9dd87aec95e13ddebd2e7bda | |
parent | add install and uninstall rules (diff) | |
download | file2key-54b3ab50c577e988dc577ec8b6d8a42dfd047c43.tar.gz file2key-54b3ab50c577e988dc577ec8b6d8a42dfd047c43.tar.bz2 file2key-54b3ab50c577e988dc577ec8b6d8a42dfd047c43.tar.xz |
add dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 27 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore new file mode 100644 index 0000000..eaabd63 --- /dev/null +++ b/dist/archlinux/stable/.gitignore @@ -0,0 +1,6 @@ +* +!.git* +*~ +!PKGBUILD +!file2key.install + diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..026a626 --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,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" +} + |