Skip to content

Instantly share code, notes, and snippets.

@pfactum
Created September 2, 2014 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfactum/b75a1c6a6a70b1450d1f to your computer and use it in GitHub Desktop.
Save pfactum/b75a1c6a6a70b1450d1f to your computer and use it in GitHub Desktop.
# 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