blob: e33dbde60da404fb230239171f7d3e6f1fdb4aca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Ziga Patacko Koderman <ziga.patacko@protonmail.com>
# Maintainer: Vid Drobnic <vid.drobnic@protonmail.com>
# Maintainer: Matej Marinko <matejmarinko123@gmail.com>
pkgname=libelectronpass-git
pkgver=20170519.e434291
pkgdesc="Backend library for ElectronPass desktop app."
pkgrel=1
arch=('any')
url='https://electronpass.github.io'
license=('GPL3')
depends=('libsodium' 'gcc-libs')
makedepends=('git')
provides=('libelectronpass')
groups=('electronpass')
_gitroot="git://github.com/electronpass/libelectronpass.git"
_gitbranch=master
_gitname=libelectronpass
source=(${_gitname}::${_gitroot})
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}
echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${_gitname}
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}
|