summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWyRe2016-07-25 23:03:44 +0200
committerWyRe2016-07-25 23:03:44 +0200
commitc3661c4ca22d3e3f64d7743530eae936df5999e4 (patch)
tree9d4d0d148b71e6217c2de7f0eab51ee099f40fea
parentb32279508523c76a62d6cbf64410309ec8a30369 (diff)
downloadaur-c3661c4ca22d3e3f64d7743530eae936df5999e4.tar.gz
Some improvements
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD13
-rw-r--r--pokemmo.install8
3 files changed, 20 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 347ce331f54..0e676dc7e37 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,16 @@
pkgbase = pokemmo
- pkgdesc = An MMO based on the Pokemon Universe
+ pkgdesc = An MMO based on the Pokémon Universe
pkgver = 1.1
pkgrel = 1
url = http://pokemmo.eu
+ install = pokemmo.install
arch = any
license = custom
depends = java-runtime
source = https://pokemmo.eu/download_file/?id=5/pokemmo_1.1.rpm
+ source = pokemmo.install
sha256sums = b56780bcbe37c8f155be16788d79a790d4231018687e279d3b8782e644e2114e
+ sha256sums = edfc9fcaf78521bbc63d858822e76229eaeb7feb444b4c59728ac8689785ef01
pkgname = pokemmo
diff --git a/PKGBUILD b/PKGBUILD
index f75f80458a2..97b99a8aa57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,19 @@
pkgname="pokemmo"
pkgver=1.1
pkgrel=1
-pkgdesc="An MMO based on the Pokemon Universe"
+pkgdesc="An MMO based on the Pokémon Universe"
arch=('any')
url="http://pokemmo.eu"
license=('custom')
depends=('java-runtime')
+install="${pkgname}.install"
-source=("https://pokemmo.eu/download_file/?id=5/${pkgname}_${pkgver}.rpm")
-sha256sums=('b56780bcbe37c8f155be16788d79a790d4231018687e279d3b8782e644e2114e')
+source=("https://pokemmo.eu/download_file/?id=5/${pkgname}_${pkgver}.rpm"
+ "${pkgname}.install")
+sha256sums=('b56780bcbe37c8f155be16788d79a790d4231018687e279d3b8782e644e2114e'
+ 'edfc9fcaf78521bbc63d858822e76229eaeb7feb444b4c59728ac8689785ef01')
package(){
- install -Dm755 "$srcdir/usr/bin/pokemmo-launcher" "$pkgdir/usr/bin/pokemmo-launcher"
- cp -r "$srcdir/usr/share" "$pkgdir/usr/share"
+ install -Dm755 "${srcdir}/usr/bin/pokemmo-launcher" "${pkgdir}/usr/bin/pokemmo-launcher"
+ cp -r "${srcdir}/usr/share" "${pkgdir}/usr/share"
}
diff --git a/pokemmo.install b/pokemmo.install
new file mode 100644
index 00000000000..a01b2624463
--- /dev/null
+++ b/pokemmo.install
@@ -0,0 +1,8 @@
+post_install(){
+ echo "To play, you will need to place a PokeMon Fire Red (US) ROM, and optionally"
+ echo "a Heart Gold or Soul Silver ROM, in ~/.pokemmo/roms"
+ echo ""
+ echo "This software is not open-source. You must agree to the terms of service before"
+ echo "using this software. The terms of service and licensing information may be"
+ echo "here: http://pokemmo.eu/tos/"
+}