diff options
author | Philip Abernethy | 2015-07-03 19:00:58 +0200 |
---|---|---|
committer | Philip Abernethy | 2015-07-03 19:00:58 +0200 |
commit | ea40da3bbb0b78ec627ff4e7f7b9c19acfc01e2e (patch) | |
tree | 3c5d7149e0789fbb29ca8f820c3cb00d1b0a3bf8 | |
download | aur-luftrausers.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | luftrausers.png | bin | 0 -> 1092 bytes |
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..548d3dc481d1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = luftrausers + pkgdesc = Air combat game with many different planes and missions + pkgver = 1.0 + pkgrel = 1 + epoch = 1395159852 + url = http://www.luftrausers.com/ + arch = i686 + arch = x86_64 + license = custom:commercial + depends = flac + depends = freetype2 + depends = jsoncpp + depends = libogg + depends = sdl2 + depends = sfml + depends = libsndfile + depends = libvorbis + depends = zlib + source = hib://LUFTRAUSER_LINUX_1395159852.zip + source = luftrausers.png + sha512sums = 4961cc3f0e26c8f6792b1cbb39e1857acb538e20c2784867629b6dce3e9d7a70a547c6ed35813f09a7db25d86f74709185279f063cbae88f37117f9a0998f9bf + sha512sums = fe169a7195d338c8fad524ea14b4e84b33f5b549e6bd40f6e8f1bb8cb4ac85854a6ce707ab82305337ee26ee1b89868f2e39fff6f7de75cd181306332cc845fe + +pkgname = luftrausers + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f45302692b7b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Philip 'Chais' Abernethy <chais.z3r0@gmail.com> +pkgname=luftrausers +pkgver=1.0 +pkgrel=1 +epoch=1395159852 +pkgdesc="Air combat game with many different planes and missions" +arch=('i686' 'x86_64') +url="http://www.luftrausers.com/" +license=('custom:commercial') +depends=('flac' 'freetype2' 'jsoncpp' 'libogg' 'sdl2' 'sfml' 'libsndfile' 'libvorbis' 'zlib') +if [[ "$CARCH" == 'x86_64' ]]; then + depends+=('openal') +fi + +DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in /etc/makepkg.conf."; exit 1') + +source=("hib://LUFTRAUSER_LINUX_${epoch}.zip" + 'luftrausers.png') +sha512sums=('4961cc3f0e26c8f6792b1cbb39e1857acb538e20c2784867629b6dce3e9d7a70a547c6ed35813f09a7db25d86f74709185279f063cbae88f37117f9a0998f9bf' + 'fe169a7195d338c8fad524ea14b4e84b33f5b549e6bd40f6e8f1bb8cb4ac85854a6ce707ab82305337ee26ee1b89868f2e39fff6f7de75cd181306332cc845fe') + +package() { + install -Dm755 "${srcdir}/${pkgname}-nodrm/${CARCH/_/-}/${pkgname}" "${pkgdir}/opt/${pkgname}/bin/${pkgname}" + pushd "${srcdir}/${pkgname}-nodrm/" + find data -type d -exec install -dm755 "${pkgdir}/opt/${pkgname}/{}" \; + find data -type f -exec install -m644 "{}" "${pkgdir}/opt/${pkgname}/{}" \; + popd + install -dm755 "${pkgdir}"/usr/{bin,share/applications} + echo "#!/usr/bin/sh +cd /opt/${pkgname}/bin +./${pkgname}" > "${pkgdir}/usr/bin/${pkgname}" + chmod 755 "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "${srcdir}/${source[1]}" "${pkgdir}/usr/share/pixmaps/${source[1]}" + echo "[Desktop Entry] +Type=Application +Name=${pkgname^} +GenericName=${pkgname^} +Comment=${pkgdesc} +Icon=${pkgname} +Exec=/usr/bin/${pkgname} +Categories=Game; +Path=/opt/${pkgname}" > "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} diff --git a/luftrausers.png b/luftrausers.png Binary files differnew file mode 100644 index 000000000000..e907fc50ec7e --- /dev/null +++ b/luftrausers.png |