summaryrefslogtreecommitdiff
path: root/qca/Pkgfile
blob: 6948a3e8f8014f7c2807669a5a2c0f0fb479c5fd (plain)
    1 # Description: QCA aims to provide a straightforward and cross-platform crypto API, using Qt.
    2 # URL: https://userbase.kde.org/QCA
    3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
    4 # Packager: Jose V Beneyto, sepen at crux dot nu
    5 # Depends on: qt4
    6 
    7 name=qca
    8 version=2.1.3
    9 release=1
   10 source=(http://download.kde.org/stable/$name/$version/src/$name-$version.tar.xz)
   11 
   12 build() {
   13   cd $name-$version
   14 
   15   install -d build
   16   cd build
   17 
   18   cmake .. \
   19     -DCMAKE_INSTALL_PREFIX=/usr \
   20     -DCMAKE_BUILD_TYPE=Release \
   21     -DBUILD_TESTS=OFF \
   22     -DQT4_BUILD=ON \
   23     -DQCA_LIBRARY_INSTALL_DIR=/usr/lib \
   24     -DQCA_FEATURE_INSTALL_DIR=/usr/share/qt4/mkspecs/features
   25 
   26   make
   27   make DESTDIR=$PKG install
   28 }

Generated by cgit