Created
September 2, 2014 19:24
-
-
Save pfactum/b75a1c6a6a70b1450d1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Oleksandr Natalenko aka post-factum <oleksandr@natalenko.name> | |
pkgname=fastpwd | |
pkgver=0.0.1 | |
pkgrel=1 | |
pkgdesc="Hash-based (SHA-3) Qt password generator and manager" | |
url="https://github.com/pfactum/fastpwd/" | |
arch=('i686' 'x86_64') | |
license=('GPLv3') | |
depends=('glibc' 'qt5-base') | |
makedepends=('clang' 'qtchooser' 'git') | |
source=(${pkgname}::git+https://github.com/pfactum/fastpwd.git) | |
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 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment