diff options
author | Philip Abernethy | 2015-06-12 17:46:04 +0200 |
---|---|---|
committer | Philip Abernethy | 2015-06-12 17:46:04 +0200 |
commit | c05da26035c139840197b80b1fa8eac64c2d4e8c (patch) | |
tree | 1bbf417bb71ebf5b71f24b34d2be62e6a43d83d5 | |
download | aur-c05da26035c139840197b80b1fa8eac64c2d4e8c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | aquaria.desktop | 11 |
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ca1d5ef17193 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = aquaria-hib + pkgdesc = A 2D fantasy underwater action-adventure game (Humble Bundle version) + pkgver = 1.1.3 + pkgrel = 3 + url = http://www.bit-blot.com/ + arch = i686 + arch = x86_64 + license = custom:commercial + provides = aquaria-1.1.3 + conflicts = aquaria + conflicts = aquaria-data-hib + conflicts = aquaria-git + replaces = aquaria + replaces = aquaria-data-hib + replaces = aquaria-git + source = hib://aquaria_1.1.3_amd64.deb + source = aquaria.desktop + sha512sums = c7f0cb4eacef6804d57a93dd572be3b18c8aa78953d66f14e625e19d39e25d85b777157db79bccbbeabb9a7dc655f1ff43f6cbd287a5c4a89e1eb2e6b4ee219a + sha512sums = 9c647f9452995d7ed78511ba80ecd0f656bbe33992116096a54d8e67ac7f54e919ac151662485ed7363e7834b3535cc76e9a376e78c058205d94ad75f831af05 + +pkgname = aquaria-hib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ae44e6eb6fa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +pkgname=aquaria-hib +pkgver=1.1.3 +pkgrel=3 +pkgdesc="A 2D fantasy underwater action-adventure game (Humble Bundle version)" +arch=('i686' 'x86_64') +[[ $CARCH = "i686" ]] && _arch='i386' || _arch='amd64' +url="http://www.bit-blot.com/" +license=('custom:commercial') +provides=('aquaria-1.1.3') +conflicts=('aquaria' 'aquaria-data-hib' 'aquaria-git') +replaces=('aquaria' 'aquaria-data-hib' 'aquaria-git') +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') + +PKGEXT='.pkg.tar' + +source=("hib://aquaria_${pkgver}_$_arch.deb" + "aquaria.desktop") +[[ $CARCH = "i686" ]] && sha512sums=('017a06f2bc4ca50d191b20e27b1cbdb49658e03fbcb7e18e731832c4b528d63bffd88c1d1953b2c8513f9c351a5ea1e736187d735554dfc6e6f7d25917b9a606') || sha512sums=('c7f0cb4eacef6804d57a93dd572be3b18c8aa78953d66f14e625e19d39e25d85b777157db79bccbbeabb9a7dc655f1ff43f6cbd287a5c4a89e1eb2e6b4ee219a') +sha512sums+=('9c647f9452995d7ed78511ba80ecd0f656bbe33992116096a54d8e67ac7f54e919ac151662485ed7363e7834b3535cc76e9a376e78c058205d94ad75f831af05') + +package() { + mkdir $srcdir/data + tar -C $srcdir/data -xzf data.tar.gz + pushd $srcdir/data + find -type f -path "./opt*" -exec install -Dm755 '{}' $pkgdir/'{}' \; + popd + mv $pkgdir/opt/Aquaria $pkgdir/opt/aquaria + mkdir -p $pkgdir/usr/bin + ln -s /opt/aquaria/aquaria $pkgdir/usr/bin/aquaria + install -Dm644 $srcdir/aquaria.desktop $pkgdir/usr/share/applications/aquaria.desktop +} diff --git a/aquaria.desktop b/aquaria.desktop new file mode 100644 index 000000000000..7ff6ce19acf5 --- /dev/null +++ b/aquaria.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Value=1.0 +Type=Application +Name=Aquaria +GenericName=Aquaria +Comment=Underwater exploration adventure video game +Icon=/opt/aquaria/aquaria.png +Exec="/opt/aquaria/aquaria" +Categories=Games +Name[de_DE]=aquaria |