diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 25 | ||||
-rwxr-xr-x | gog-apotheon | 5 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c254f1fc52ac --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = gog-apotheon + pkgdesc = The Gods of Olympus have abandoned humanity, leaving you to perish without their benevolence. GOG linux game package required! + pkgver = 1.0.0.1 + pkgrel = 1 + url = http://www.gog.com/game/apotheon + arch = i686 + arch = x86_64 + groups = games + license = custom + depends = libgl + depends = libx11 + depends = libxext + depends = desktop-file-utils + source = local://gog_apotheon_1.0.0.1.tar.gz + source = gog-apotheon + md5sums = 13432c627e378516474895eafab39ccb + md5sums = 08eee547be3e5dc1f43c6937fca5bc6e + +pkgname = gog-apotheon + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4ff406cc4bf0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer : JoJos + +pkgname=gog-apotheon +pkgver=1.0.0.1 +pkgrel=1 +pkgdesc="The Gods of Olympus have abandoned humanity, leaving you to perish without their benevolence. GOG linux game package required!" +arch=("i686" "x86_64") +url="http://www.gog.com/game/apotheon" +license=("custom") +groups=("games") +source=("local://gog_apotheon_${pkgver}.tar.gz" "gog-apotheon") +md5sums=('13432c627e378516474895eafab39ccb' + '08eee547be3e5dc1f43c6937fca5bc6e') +depends=(libgl libx11 libxext desktop-file-utils) +#options=('!strip') +PKGEXT=.pkg.tar + +package() { + mkdir -p "${pkgdir}"/opt/gog/apotheon + cp -r "${srcdir}"/Apotheon/* "${pkgdir}"/opt/gog/apotheon + install -Dm644 "${srcdir}"/Apotheon/support/gog-apotheon-primary.desktop "${pkgdir}"/usr/share/applications/gog-apotheon.desktop + install -Dm644 "${srcdir}"/Apotheon/support/gog-apotheon.png "${pkgdir}"/usr/share/pixmaps/gog-apotheon.png + install -Dm644 "${srcdir}"/Apotheon/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE + install -Dm755 "${srcdir}/gog-apotheon" "${pkgdir}/usr/bin/gog-apotheon" +} diff --git a/gog-apotheon b/gog-apotheon new file mode 100755 index 000000000000..c5da2a3208b8 --- /dev/null +++ b/gog-apotheon @@ -0,0 +1,5 @@ +#!/usr/bin/bash +gogdir="/opt/gog/apotheon" + +"$gogdir"/start.sh + |