diff options
author | Alessandro Pazzaglia | 2015-06-08 19:55:32 +0200 |
---|---|---|
committer | Alessandro Pazzaglia | 2015-06-08 19:55:32 +0200 |
commit | d322d152c26aa935443ec20049adcc3c4d089574 (patch) | |
tree | 3fd1101681d20e625bf41a33427a41d4bda4d19a | |
download | aur-d322d152c26aa935443ec20049adcc3c4d089574.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f91be0173c33 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by makepkg 4.2.1 +# Wed Mar 18 20:48:53 UTC 2015 +pkgbase = typhon-svn + pkgdesc = A slim and themeable OpenGL-based dashboard and emulator launcher + pkgver = 2.0.r16 + pkgrel = 2 + url = https://github.com/frostworx/typhon-launcher + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = subversion + makedepends = cmake + depends = sfml + depends = tinyxml + depends = bullet + optdepends = imagemagick: for thumbnail support + source = typhon-svn::svn+https://github.com/frostworx/typhon-launcher/trunk + md5sums = SKIP + +pkgname = typhon-svn + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f03939664315 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Alessandro Pazzaglia <jackdroido at gmail dot com> + +pkgname=typhon-svn +pkgver=2.0.r16 +pkgrel=2 +pkgdesc="A slim and themeable OpenGL-based dashboard and emulator launcher" +arch=('i686' 'x86_64') +url="https://github.com/frostworx/typhon-launcher" +license=('GPL3') +depends=('sfml' 'tinyxml' 'bullet') +optdepends=('imagemagick: for thumbnail support') +makedepends=('subversion' 'cmake') +source=("$pkgname::svn+https://github.com/frostworx/typhon-launcher/trunk") +md5sums=('SKIP') + +build() { + cd "$srcdir/$pkgname/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_FLAGS="-Wno-unused-but-set-variable -Wno-maybe-uninitialized -Wno-sign-compare" \ + -DNOMMD=ON -DNOSFM=ON -DNOSCROT=ON .. + make +} + +package() { + cd "$srcdir/$pkgname/build" + make DESTDIR="$pkgdir/" install +} + +pkgver() { + cd "$pkgname" + local release="2.0" + local version="$(svnversion)" + printf "%s.r%s" "${release}" "${version//[[:alpha:]]}" +} |