mirror of https://github.com/libAthena/athena.git
build system tweaks
This commit is contained in:
parent
fb722a9f5b
commit
2bb60ab152
4
PKGBUILD
4
PKGBUILD
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue