summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD26
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..80aaaf0151f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = file2key
+ pkgdesc = A simple command that generates a key from a file and a passphrase
+ pkgver = 2
+ pkgrel = 1
+ url = https://github.com/maandree/file2key
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = make
+ makedepends = coreutils
+ makedepends = gcc
+ makedepends = glibc
+ makedepends = libpassphrase
+ makedepends = libkeccak
+ depends = glibc
+ depends = libpassphrase
+ depends = libkeccak
+ source = https://github.com/maandree/file2key/archive/2.tar.gz
+ sha256sums = aa8d50ade18a77a5f721d2c843e089abf5a6ee9aa163821c564db19e0de75ac8
+
+pkgname = file2key
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3422a64af6a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=file2key
+pkgver=2
+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=(glibc libpassphrase libkeccak)
+makedepends=(make coreutils gcc glibc libpassphrase libkeccak)
+source=($url/archive/$pkgver.tar.gz)
+sha256sums=(aa8d50ade18a77a5f721d2c843e089abf5a6ee9aa163821c564db19e0de75ac8)
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr install DESTDIR="$pkgdir"
+}
+