* Add PKGBUILD for arch based linux

This commit is contained in:
Phillip Stephens 2014-09-28 21:29:50 -07:00
parent 38d8430c93
commit 8adbeb7748
1 changed files with 29 additions and 0 deletions

29
PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# PKGBUILD for libAthena
_pkgname=Athena
pkgname=$_pkgname-git
pkgver=v1.0.0
pkgrel=1
pkgdesc="Basic cross platform IO library"
arch=('i686' 'x86_64')
source=("${pkgname%-*}::git+https://github.com/Antidote/Athena.git")
license="GPLv3"
makedepends=('git qt5-base sed')
md5sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags | sed 's|-|.|g'
}
build() {
cd "$srcdir/$_pkgname"
qmake PREFIX="$pkgdir/usr"
make
}
package() {
cd "$srcdir/$_pkgname"
make install
}