* Fix PKGBUILD

This commit is contained in:
Phillip Stephens 2014-09-28 22:42:29 -07:00
parent 0a020f79e1
commit a8b31f363e
2 changed files with 6 additions and 6 deletions

View File

@ -152,8 +152,8 @@ isEmpty(PREFIX) {
unix { unix {
libFiles.path = $$PREFIX/lib libFiles.path = $$PREFIX/lib
libFiles.files = $$PWD/lib/libAthena.a $$PWD/lib/* libFiles.files = $$PWD/lib/*
headerFiles.files = $$PWD/include/* headerFiles.files = $$PWD/include/*
headerFiles.path = $$PREFIX/include/Athena headerFiles.path = $$PREFIX/include/Athena
INSTALLS += headerFiles pkgconf libFiles INSTALLS += libFiles headerFiles
} }

View File

@ -6,7 +6,8 @@ pkgrel=1
pkgdesc="Basic cross platform IO library" pkgdesc="Basic cross platform IO library"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
source=("${pkgname%-*}::git+https://github.com/Antidote/Athena.git") source=("${pkgname%-*}::git+https://github.com/Antidote/Athena.git")
license="GPLv3" options=(staticlibs)
license="GPL3"
makedepends=('git qt5-base sed') makedepends=('git qt5-base sed')
md5sums=('SKIP') md5sums=('SKIP')
sha256sums=('SKIP') sha256sums=('SKIP')
@ -18,12 +19,11 @@ pkgver() {
build() { build() {
cd "$srcdir/$_pkgname" cd "$srcdir/$_pkgname"
qmake PREFIX="$pkgdir/usr" qmake && make
make
} }
package() { package() {
cd "$srcdir/$_pkgname" cd "$srcdir/$_pkgname"
make install qmake PREFIX="$pkgdir/usr" && make install
} }