summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2022-07-09 13:49:02 +0200
committerMartchus2022-07-09 13:49:02 +0200
commit2e4b7e4530c0fc25356804d4c949e72ba0c2863c (patch)
treebd0045107f511bb929f48e50a89094f67c2c0023
parent3f0a2021d281863efe41878b8eacb21fd216578e (diff)
downloadaur-2e4b7e4530c0fc25356804d4c949e72ba0c2863c.tar.gz
Use library dependencies
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 12c4ac0c7a5b..4b9028e4aa1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = passwordfile
pkgdesc = C++ library to read/write passwords from/to encrypted files using AES-256-CBC via OpenSSL
pkgver = 5.0.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Martchus/passwordfile
arch = i686
arch = x86_64
@@ -12,10 +12,11 @@ pkgbase = passwordfile
checkdepends = cppunit
makedepends = cmake
makedepends = ninja
- depends = c++utilities
+ depends = libc++utilities.so
depends = openssl
depends = zlib
optdepends = passwordfile-doc: API documentation
+ provides = libpasswordfile.so
source = passwordfile-5.0.7.tar.gz::https://github.com/Martchus/passwordfile/archive/v5.0.7.tar.gz
sha256sums = 03a0ced7ecfce18ec35104dedb73eec457875ff72859290c11616b36b2da0bbb
diff --git a/PKGBUILD b/PKGBUILD
index 53a54209a9bc..5cf40972a4e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,15 @@
_reponame=passwordfile
pkgname=passwordfile
pkgver=5.0.7
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
pkgdesc='C++ library to read/write passwords from/to encrypted files using AES-256-CBC via OpenSSL'
license=('GPL')
-depends=('c++utilities' 'openssl' 'zlib')
+depends=('libc++utilities.so' 'openssl' 'zlib')
optdepends=("$pkgname-doc: API documentation")
makedepends=('cmake' 'ninja')
checkdepends=('cppunit')
+provides=(libpasswordfile.so)
install=
url="https://github.com/Martchus/${_reponame}"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")