2014-09-29 04:29:50 +00:00
|
|
|
# PKGBUILD for libAthena
|
2014-09-29 04:48:34 +00:00
|
|
|
_pkgname=libathena
|
2014-09-29 04:29:50 +00:00
|
|
|
pkgname=$_pkgname-git
|
2015-06-19 18:25:08 +00:00
|
|
|
pkgver=1.1.0.35.gfd3db3e
|
2014-09-29 04:29:50 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Basic cross platform IO library"
|
|
|
|
arch=('i686' 'x86_64')
|
2015-06-17 01:43:35 +00:00
|
|
|
source=("${pkgname%-*}::git+https://github.com/Antidote/Athena.git")
|
2014-09-29 05:42:29 +00:00
|
|
|
options=(staticlibs)
|
2015-06-17 00:25:48 +00:00
|
|
|
license="MIT"
|
2014-09-29 04:29:50 +00:00
|
|
|
makedepends=('git qt5-base sed')
|
|
|
|
md5sums=('SKIP')
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir/$_pkgname"
|
|
|
|
git describe --tags | sed 's|-|.|g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$_pkgname"
|
2015-06-17 00:57:06 +00:00
|
|
|
qmake PREFIX="$pkgdir/usr" && make
|
2014-09-29 04:29:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_pkgname"
|
2014-09-29 05:42:29 +00:00
|
|
|
qmake PREFIX="$pkgdir/usr" && make install
|
2014-09-29 04:29:50 +00:00
|
|
|
}
|
|
|
|
|