summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Lauinger2015-07-16 00:08:16 +0200
committerJohannes Lauinger2015-07-16 00:08:16 +0200
commit60ce2d58c5c06d0bde38e855453e7a8db96247c8 (patch)
treea0d8547f2254c6c5b704ec37896a42398a78b95c
parentb199e4370d18e0141a7333d36f015bdea5e3125f (diff)
downloadaur-kdbx-viewer.tar.gz
new Makefile version
-rw-r--r--.SRCINFO2
-rw-r--r--Makefile.patch20
-rw-r--r--PKGBUILD9
3 files changed, 2 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eebc45a3addc..0fe53037b147 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kdbx-viewer
pkgdesc = ncurses GUI to browse and command-line tool to dump all contents of a KeePass2 Database files (kdbx)
pkgver = 0.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/max-weller/kdbx-viewer
arch = x86_64
license = GPL
diff --git a/Makefile.patch b/Makefile.patch
deleted file mode 100644
index eb60b8c09e00..000000000000
--- a/Makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile 2015-07-12 03:09:46.789759992 +0200
-+++ Makefile 2015-07-12 03:17:07.613991170 +0200
-@@ -2,14 +2,10 @@
- LIBKX9R_CODE = libcx9r/aes256.c libcx9r/base64.c libcx9r/kdbx.c libcx9r/key_tree.c libcx9r/salsa20.c libcx9r/sha256.c libcx9r/stream.c libcx9r/util.c
- DEFINES = -DHAVE_STDINT_H -DGCRYPT_WITH_SHA256 -DGCRYPT_WITH_AES -DBYTEORDER=1234 -DHAVE_EXPAT
-
--#libcx9r.o: $(LIBKX9R_CODE)
--# gcc -c -o libcx9r.o -I./include/ $(DEFINES) $(LIBKX9R_CODE) -lgcrypt -lexpat -lz
--
--#kdbxviewer: libcx9r.o src/main.c
--# gcc -o kdbxviewer -I./include/ main.c libcx9r.o
--
- kdbxviewer: $(LIBKX9R_CODE) src/main.c src/tui.c src/mainWindow.stfl src/helper.c
- mkdir -p bin
-- cp src/mainWindow.stfl bin/mainWindow.stfl
- gcc -g -o bin/kdbxviewer -I./include/ -I./libcx9r/ src/main.c src/helper.c $(DEFINES) $(LIBKX9R_CODE) src/tui.c -lgcrypt -lexpat -lz -lstfl -lncursesw -lmenu -Wno-pointer-sign
-
-+install:
-+ mkdir -p $(DESTDIR)/usr/bin
-+ cp bin/kdbxviewer $(DESTDIR)/usr/bin
diff --git a/PKGBUILD b/PKGBUILD
index e4e0814c204b..7ea05cd9d3c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=kdbx-viewer
pkgver=0.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="ncurses GUI to browse and command-line tool to dump all contents of a KeePass2 Database files (kdbx)"
arch=('x86_64')
url="https://github.com/max-weller/kdbx-viewer"
@@ -10,16 +10,9 @@ license=('GPL')
depends=('ncurses' 'libgcrypt' 'zlib' 'expat' 'stfl')
makedepends=('git')
provides=("kdbxviewer")
-install=
-changelog=
source=("git+https://github.com/max-weller/kdbx-viewer.git")
md5sums=('SKIP')
-prepare() {
- cd "$srcdir/$pkgname"
- patch -p0 < ../../Makefile.patch
-}
-
build() {
cd "$pkgname"
make