From a8b31f363e31bc997da24e2be4d365ee13067c6b Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 28 Sep 2014 22:42:29 -0700 Subject: [PATCH] * Fix PKGBUILD --- Athena.pro | 4 ++-- PKGBUILD | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Athena.pro b/Athena.pro index 9c9bd4d..b481892 100644 --- a/Athena.pro +++ b/Athena.pro @@ -152,8 +152,8 @@ isEmpty(PREFIX) { unix { libFiles.path = $$PREFIX/lib - libFiles.files = $$PWD/lib/libAthena.a $$PWD/lib/* + libFiles.files = $$PWD/lib/* headerFiles.files = $$PWD/include/* headerFiles.path = $$PREFIX/include/Athena - INSTALLS += headerFiles pkgconf libFiles + INSTALLS += libFiles headerFiles } diff --git a/PKGBUILD b/PKGBUILD index 21f249e..b64c4c6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,8 @@ pkgrel=1 pkgdesc="Basic cross platform IO library" arch=('i686' 'x86_64') source=("${pkgname%-*}::git+https://github.com/Antidote/Athena.git") -license="GPLv3" +options=(staticlibs) +license="GPL3" makedepends=('git qt5-base sed') md5sums=('SKIP') sha256sums=('SKIP') @@ -18,12 +19,11 @@ pkgver() { build() { cd "$srcdir/$_pkgname" - qmake PREFIX="$pkgdir/usr" - make + qmake && make } package() { cd "$srcdir/$_pkgname" - make install + qmake PREFIX="$pkgdir/usr" && make install }