summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Witschel2018-10-24 20:23:56 +0200
committerJonas Witschel2018-10-24 20:23:56 +0200
commit197ac712c0cab75f80654a70b134d7219e31ab2c (patch)
tree0ddfeab5a9d5ebd6ceaac97f3329817d861390a2
downloadaur-197ac712c0cab75f80654a70b134d7219e31ab2c.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3187786dcf5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = luksmeta
+ pkgdesc = Library for storing metadata in the LUKSv1 header
+ pkgver = 9
+ pkgrel = 1
+ url = https://github.com/latchset/luksmeta
+ arch = x86_64
+ license = LGPL
+ makedepends = asciidoc
+ depends = cryptsetup
+ source = https://github.com/latchset/luksmeta/releases/download/v9/luksmeta-9.tar.bz2
+ sha512sums = eeecc3de9d621c380d29b2f2ca6ce715f09c20aac8ffc6a3d3cc7dc30c5dc46df686e61928d0accf7e7281ad9baa6ee59a0cf5b58635a311769d8e08c5cc94bd
+
+pkgname = luksmeta
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..61f915c7a61
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Jonas Witschel <diabonas at gmx dot de>
+pkgname=luksmeta
+pkgver=9
+pkgrel=1
+pkgdesc='Library for storing metadata in the LUKSv1 header'
+arch=('x86_64')
+url='https://github.com/latchset/luksmeta'
+license=('LGPL')
+depends=('cryptsetup')
+makedepends=('asciidoc')
+source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+sha512sums=('eeecc3de9d621c380d29b2f2ca6ce715f09c20aac8ffc6a3d3cc7dc30c5dc46df686e61928d0accf7e7281ad9baa6ee59a0cf5b58635a311769d8e08c5cc94bd')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}