athena/atdna/PKGBUILD

31 lines
697 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 01:05:43 +00:00
pkgver=1.1.0.20.gb195c19
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 01:02:58 +00:00
qmake PREFIX="$pkgdir/usr" INSTALL_PREFIX="/usr" && make
2015-06-17 00:25:48 +00:00
}
package() {
2015-06-17 00:33:04 +00:00
cd "$srcdir/$_pkgname/atdna"
2015-06-17 01:02:58 +00:00
qmake PREFIX="$pkgdir/usr" INSTALL_PREFIX="/usr" && make install
2015-06-17 00:25:48 +00:00
}