build system tweaks

This commit is contained in:
Jack Andersen 2015-06-16 14:33:04 -10:00
parent fb722a9f5b
commit 2bb60ab152
3 changed files with 8 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# PKGBUILD for libAthena # PKGBUILD for libAthena
_pkgname=libathena _pkgname=libathena
pkgname=$_pkgname-git pkgname=$_pkgname-git
pkgver=v1.0.0 pkgver=1.1.0.17.gfb722a9
pkgrel=1 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#branch=atdna")
options=(staticlibs) options=(staticlibs)
license="MIT" license="MIT"
makedepends=('git qt5-base sed') makedepends=('git qt5-base sed')

View File

@ -1,11 +1,11 @@
# PKGBUILD for atdna # PKGBUILD for atdna
_pkgname=atdna _pkgname=atdna
pkgname=$_pkgname-git pkgname=$_pkgname-git
pkgver=v1.0.0 pkgver=1.1.0.17.gfb722a9
pkgrel=1 pkgrel=1
pkgdesc="Companion DNA utility for libAthena" pkgdesc="Companion DNA utility for libAthena"
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#branch=atdna")
options=(staticlibs) options=(staticlibs)
license="MIT" license="MIT"
makedepends=('git qt5-base sed clang libathena-git') makedepends=('git qt5-base sed clang libathena-git')
@ -19,12 +19,12 @@ pkgver() {
} }
build() { build() {
cd "$srcdir/$_pkgname" cd "$srcdir/$_pkgname/atdna"
qmake && make qmake && make
} }
package() { package() {
cd "$srcdir/$_pkgname" cd "$srcdir/$_pkgname/atdna"
qmake PREFIX="$pkgdir/usr" && make install qmake PREFIX="$pkgdir/usr" && make install
} }

View File

@ -59,6 +59,7 @@ unix {
PREFIX = /usr/local PREFIX = /usr/local
} }
utilFiles.path = $$PREFIX/bin utilFiles.path = $$PREFIX/bin
utilFiles.files = $$OUT_PWD/atdna
INSTALLS += utilFiles INSTALLS += utilFiles
} }
@ -67,5 +68,6 @@ win32 {
PREFIX = $$PWD/pkg PREFIX = $$PWD/pkg
} }
utilFiles.path = $$PREFIX/bin utilFiles.path = $$PREFIX/bin
utilFiles.files = $$OUT_PWD/atdna
INSTALLS += utilFiles INSTALLS += utilFiles
} }