diff options
author | Kamil Krzyżanowski | 2015-10-23 19:39:27 +0200 |
---|---|---|
committer | Kamil Krzyżanowski | 2015-10-23 19:39:27 +0200 |
commit | b7014005c1b34625d85d496efdfc0df8a77512b0 (patch) | |
tree | 4c261c9346c4985c66c17e7023119ec9444f02d1 | |
download | aur-b7014005c1b34625d85d496efdfc0df8a77512b0.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..90177922063d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = fusionclient-git + pkgdesc = Project Fusion is a cross-platform, open source multi-functional game launcher. + pkgver = 20151023.d5f67ad + pkgrel = 1 + url = https://github.com/FusionLauncher/FusionClient + arch = i386 + arch = x86_64 + license = GPL2 + makedepends = git + depends = libfusion + provides = fusionclient + conflicts = fusionclient + options = !emptydirs + source = fusionclient::git+https://github.com/FusionLauncher/FusionClient + md5sums = SKIP + +pkgname = fusionclient-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..576574f58022 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Kamil Krzyżanowski <kamnxt@kamnxt.com> +_pkgname=fusionclient +_reponame=FusionClient +pkgname=${_pkgname}-git +pkgver=20151023.d5f67ad +pkgrel=1 +pkgdesc="Project Fusion is a cross-platform, open source multi-functional game launcher." +arch=('i386' 'x86_64') +url="https://github.com/FusionLauncher/FusionClient" +license=('GPL2') +depends=('libfusion') +makedepends=('git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +options=(!emptydirs) +source=("${_pkgname}::git+https://github.com/FusionLauncher/FusionClient") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + git log -1 --format='%cd.%h' --date=short | tr -d - +} + +build() { + cd "${srcdir}/${_pkgname}" + qmake PREFIX=/usr + make +} +package() { + cd "${srcdir}/${_pkgname}" + make INSTALL_ROOT="$pkgdir/" install + install -Dm 644 -p dbUpdate "$pkgdir/usr/share/Fusion/dbUpdate" +} + +# vim:set ts=2 sw=2 et: |