summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-05-19 18:08:49 +0200
committerhaawda2019-05-19 18:08:49 +0200
commitaa3fd2314c8ffcde40209b8fc1c3bda4796cedd7 (patch)
treebefd2f73115fe90155c8e4bc5be2bf071e9e50be
downloadaur-aa3fd2314c8ffcde40209b8fc1c3bda4796cedd7.tar.gz
initial upload
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD35
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..66a92fe99ff
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ylva
+ pkgdesc = Command line password manager.
+ pkgver = 1.4
+ pkgrel = 1
+ url = https://www.${pkgame}passwordmanager.com/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = gcc
+ depends = openssl
+ depends = sqlite
+ source = ylva-1.4.tar.gz::https://github.com/nrosvall/ylva/archive/v1.4.tar.gz
+ sha256sums = 9841b73c9412cd596502ac7f8b2f2168ce87763e2edce4506ee1d925eab5f5a1
+
+pkgname = ylva
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6e7b10d682
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Niko Rosvall <niko@byteptr.com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer: Zachary Matthews <zacharymatt5@gmail.com>
+
+pkgname=ylva
+pkgver=1.4
+pkgrel=1
+pkgdesc='Command line password manager.'
+arch=('i686' 'x86_64')
+url='https://www.${pkgame}passwordmanager.com/'
+license=('GPL')
+depends=('openssl' 'sqlite')
+makedepends=('gcc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nrosvall/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('9841b73c9412cd596502ac7f8b2f2168ce87763e2edce4506ee1d925eab5f5a1')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i -e '/^override/d' \
+ -e 's/^\(PREFIX=\/usr\)\/local/\1/' \
+ Makefile
+}
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package () {
+ cd $pkgname-$pkgver
+ install -Dm755 "$srcdir/$pkgname-$pkgver"/$pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 "$srcdir/$pkgname-$pkgver"/$pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
+ install -Dm644 "$srcdir/$pkgname-$pkgver"/README.md "$pkgdir"/usr/share/doc/"$pkgname"/README.md
+ install -Dm644 "$srcdir/$pkgname-$pkgver"/LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}