30 lines
925 B
Bash
30 lines
925 B
Bash
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
# you also find the URL of a binary repository.
|
|
|
|
_reponame=passwordfile
|
|
pkgname=passwordfile
|
|
pkgver=3.1.1
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
pkgdesc="C++ library to read/write passwords from/to encrypted files (using AES-256-CBC via OpenSSL)."
|
|
license=('GPL')
|
|
depends=('c++utilities' 'openssl')
|
|
makedepends=('cmake')
|
|
install=
|
|
url="https://github.com/Martchus/${_reponame}"
|
|
source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
|
|
sha256sums=('46068f8e0d789d2a516950f201275eddf3720bc67d941730e00c1efb100e6dc4')
|
|
|
|
build() {
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|