mirror of https://github.com/libAthena/athena.git
futher adjustments
This commit is contained in:
parent
96ed8a2ce2
commit
b195c194f7
|
@ -1,7 +1,7 @@
|
|||
# PKGBUILD for atdna
|
||||
_pkgname=atdna
|
||||
pkgname=$_pkgname-git
|
||||
pkgver=1.1.0.18.g2bb60ab
|
||||
pkgver=1.1.0.19.g96ed8a2
|
||||
pkgrel=1
|
||||
pkgdesc="Companion DNA utility for libAthena"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -20,11 +20,11 @@ pkgver() {
|
|||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname/atdna"
|
||||
qmake PREFIX="$pkgdir/usr" && make
|
||||
qmake PREFIX="$pkgdir/usr" INSTALL_PREFIX="/usr" && make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname/atdna"
|
||||
qmake PREFIX="$pkgdir/usr" && make install
|
||||
qmake PREFIX="$pkgdir/usr" INSTALL_PREFIX="/usr" && make install
|
||||
}
|
||||
|
||||
|
|
|
@ -58,6 +58,9 @@ unix {
|
|||
isEmpty(PREFIX) {
|
||||
PREFIX = /usr/local
|
||||
}
|
||||
isEmpty(INSTALL_PREFIX) {
|
||||
INSTALL_PREFIX = /usr/local
|
||||
}
|
||||
utilFiles.path = $$PREFIX/bin
|
||||
utilFiles.files = $$OUT_PWD/atdna
|
||||
INSTALLS += utilFiles
|
||||
|
@ -67,10 +70,13 @@ win32 {
|
|||
isEmpty(PREFIX) {
|
||||
PREFIX = $$PWD/pkg
|
||||
}
|
||||
isEmpty(INSTALL_PREFIX) {
|
||||
INSTALL_PREFIX = $$PWD/pkg
|
||||
}
|
||||
utilFiles.path = $$PREFIX/bin
|
||||
utilFiles.files = $$OUT_PWD/atdna
|
||||
INSTALLS += utilFiles
|
||||
}
|
||||
|
||||
DEFINES += SYSTEM_PREFIX="$$PREFIX"
|
||||
DEFINES += INSTALL_PREFIX="$$INSTALL_PREFIX"
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifndef SYSTEM_PREFIX
|
||||
#define SYSTEM_PREFIX /usr/local
|
||||
#endif
|
||||
|
||||
#define XSTR(s) STR(s)
|
||||
#define STR(s) #s
|
||||
|
||||
|
|
Loading…
Reference in New Issue