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
_pkgname=libathena
pkgname=$_pkgname-git
pkgver=v1.0.0
pkgver=1.1.0.17.gfb722a9
pkgrel=1
pkgdesc="Basic cross platform IO library"
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)
license="MIT"
makedepends=('git qt5-base sed')

View File

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

View File

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