athena/atdna/PKGBUILD

31 lines
684 B
Bash
Raw Normal View History

2015-06-17 00:25:48 +00:00
# PKGBUILD for atdna
_pkgname=atdna
pkgname=$_pkgname-git
pkgver=1.1.0.43.g490c6d5
2015-06-17 00:25:48 +00:00
pkgrel=1
pkgdesc="Companion DNA utility for libAthena"
arch=('i686' 'x86_64')
2015-06-17 01:43:35 +00:00
source=("${pkgname%-*}::git+https://github.com/Antidote/Athena.git")
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
}