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
|
# 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')
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue