diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-24 11:22:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-24 11:22:50 +0000 |
commit | 4492be03f73025ee9bc2f17a72e4a240bad93c64 (patch) | |
tree | 4fe326eb44c5ed59c7e282696c239b27cfd163a1 /community/qtkeychain/APKBUILD | |
parent | 5075c1edbc5832aac30c9379e23f9fb263b95841 (diff) | |
download | aports-4492be03f73025ee9bc2f17a72e4a240bad93c64.tar.bz2 aports-4492be03f73025ee9bc2f17a72e4a240bad93c64.tar.xz |
community/{qtkeychain,tomahawk}: move from main
Diffstat (limited to 'community/qtkeychain/APKBUILD')
-rw-r--r-- | community/qtkeychain/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/qtkeychain/APKBUILD b/community/qtkeychain/APKBUILD new file mode 100644 index 0000000000..c9fafac1a4 --- /dev/null +++ b/community/qtkeychain/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=qtkeychain +pkgver=0.7.0 +pkgrel=0 +pkgdesc="Qt API to store passwords and other secret data" +url="https://github.com/frankosterfeld/qtkeychain" +arch="all" +license="BSD" +depends= +depends_dev="qt-dev" +makedepends="$depends_dev cmake" +install= +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/frankosterfeld/qtkeychain/archive/v$pkgver.tar.gz" + + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \ + -DCMAKE_BUILD_TYPE=Release + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="3361893bc8fd176cd35116796df40028 qtkeychain-0.7.0.tar.gz" +sha256sums="9f9afaae8e909391d7fc932bac95e38befaac5b2eb49f6623a8efec60a2e6a3a qtkeychain-0.7.0.tar.gz" +sha512sums="b7e98fa6c7f6a8a5e4d79468366b30c859db4edf08984d685d2cd8d87c5ab60b5f4769b5af96c8d9ca306111e46a63e4d23be7c07d77d6c3492f2e81ae8cd88b qtkeychain-0.7.0.tar.gz" |