diff options
author | AmatCoder <amatcoder@users.noreply.github.com> | 2014-10-26 13:59:13 +0000 |
---|---|---|
committer | AmatCoder <amatcoder@users.noreply.github.com> | 2014-10-26 17:02:03 +0000 |
commit | 5369ff7702bf343b735d926135e752d57f80677d (patch) | |
tree | 13f0e2cbecde0337dfcaf91444f2986bd235e60c /testing/keepassx | |
parent | 2089f619456fa40c1633a1ba89a65930decb5122 (diff) | |
download | aports-5369ff7702bf343b735d926135e752d57f80677d.tar.bz2 aports-5369ff7702bf343b735d926135e752d57f80677d.tar.xz |
testing/keepassx: new aport
Diffstat (limited to 'testing/keepassx')
-rw-r--r-- | testing/keepassx/APKBUILD | 45 | ||||
-rw-r--r-- | testing/keepassx/add_unistd.patch | 10 |
2 files changed, 55 insertions, 0 deletions
diff --git a/testing/keepassx/APKBUILD b/testing/keepassx/APKBUILD new file mode 100644 index 0000000000..80df2413a1 --- /dev/null +++ b/testing/keepassx/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: August Klein <amatcoder@gmail.com> +# Maintainer: August Klein <amatcoder@gmail.com> +pkgname=keepassx +pkgver=0.4.3 +pkgrel=0 +pkgdesc="A password manager" +url="http://www.keepassx.org" +arch="all" +license="GPL2" +depends="" +depends_dev="qt-dev libxtst-dev" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://www.keepassx.org/releases/${pkgname}-${pkgver}.tar.gz + add_unistd.patch" + +_builddir=$srcdir/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + qmake || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make INSTALL_ROOT="$pkgdir" install || return 1 +} + +md5sums="1df67bb22b2e08df49f09e61d156f508 keepassx-0.4.3.tar.gz +39f4f94d468427f902724a8355b9a3fe add_unistd.patch" +sha256sums="cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85 keepassx-0.4.3.tar.gz +16720665a5d3f2eedf9ee04612542ecb38546892b0d8bb5a0df9b53b105d2ab0 add_unistd.patch" +sha512sums="8ce1bc252694e11a8b0da94bb00a4e5ca2837fe099f2f992aa9a93bacc4d94f33970cec687bd73a7a7762e86220a0541fe85a6708a2d4ad1bb3aef5f19935ccc keepassx-0.4.3.tar.gz +6adbe43e0a39c3d1436601fb3c89daaf726b9c477b673e4d6fb58bf84ce56de3b51e73f5d222128e86124dd3ee000e828b97b78e89366192bca7b6fb923cb0d1 add_unistd.patch" diff --git a/testing/keepassx/add_unistd.patch b/testing/keepassx/add_unistd.patch new file mode 100644 index 0000000000..f7d08027b2 --- /dev/null +++ b/testing/keepassx/add_unistd.patch @@ -0,0 +1,10 @@ +--- a/src/lib/random.cpp ++++ b/src/lib/random.cpp +@@ -18,6 +18,7 @@ + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + ++#include <unistd.h> + #include "random.h" + + |