athena/atdna/PKGBUILD

31 lines
632 B
Bash
Raw Normal View History

2015-06-17 00:25:48 +00:00
# PKGBUILD for atdna
_pkgname=atdna
pkgname=$_pkgname-git
2015-06-17 00:33:04 +00:00
pkgver=1.1.0.17.gfb722a9
2015-06-17 00:25:48 +00:00
pkgrel=1
pkgdesc="Companion DNA utility for libAthena"
arch=('i686' 'x86_64')
2015-06-17 00:33:04 +00:00
source=("${pkgname%-*}::git+https://github.com/Antidote/Athena.git#branch=atdna")
2015-06-17 00:25:48 +00:00
options=(staticlibs)
license="MIT"
makedepends=('git qt5-base sed clang libathena-git')
depends=('libathena-git')
md5sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags | sed 's|-|.|g'
}
build() {
2015-06-17 00:33:04 +00:00
cd "$srcdir/$_pkgname/atdna"
2015-06-17 00:25:48 +00:00
qmake && make
}
package() {
2015-06-17 00:33:04 +00:00
cd "$srcdir/$_pkgname/atdna"
2015-06-17 00:25:48 +00:00
qmake PREFIX="$pkgdir/usr" && make install
}