blob: c42d0c9150554110a269f18b8352b0d57dbed230 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Oleksandr Natalenko aka post-factum <oleksandr@natalenko.name>
pkgname=fastpwd
pkgver=0.0.1
pkgrel=4
pkgdesc="Hash-based (SHA-3) Qt password generator and manager"
url="https://github.com/pfactum/fastpwd/"
arch=('i686' 'x86_64')
license=('GPLv3')
depends=(
'bzip2'
'freetype2'
'gcc-libs'
'glib2'
'glibc'
'graphite'
'harfbuzz'
'icu'
'libdrm'
'libffi'
'libgcrypt'
'libgpg-error'
'libpng'
'libsystemd'
'libx11'
'libxau'
'libxcb'
'libxdamage'
'libxdmcp'
'libxext'
'libxfixes'
'libxshmfence'
'libxxf86vm'
'mesa'
'mesa-libgl'
'pcre'
'qt5-base'
'xz'
'zlib')
makedepends=('clang' 'qtchooser' 'git' 'gtk-update-icon-cache')
source=(${pkgname}::git+https://github.com/pfactum/fastpwd.git)
install='fastpwd.install'
md5sums=('SKIP')
build() {
cd ${srcdir}/${pkgname}
qmake
# Detect CPUs count automatically
CPUS_COUNT=`cat /proc/cpuinfo | grep processor | wc -l`
echo "Compiling using $CPUS_COUNT thread(s)"
make -j$CPUS_COUNT
}
package() {
cd ${srcdir}/${pkgname}
INSTALL_ROOT=${pkgdir}/ make install
install -m 644 -D fastpwd.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/fastpwd.png"
install -m 644 -D fastpwd.desktop "$pkgdir/usr/share/applications/fastpwd.desktop"
}
|