summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2015-12-02 19:29:40 +0100
committerJaroslav Lichtblau2015-12-02 19:29:40 +0100
commit946485e7e5696990f46f3c5cd10dfe01d43eddb6 (patch)
tree19872c42b55c68689d3ac43652a566861eb20392
parent179c19a41dae06445a786defa06b01f9feea6196 (diff)
downloadaur-946485e7e5696990f46f3c5cd10dfe01d43eddb6.tar.gz
lostlabyrinth-5.3.0-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD30
2 files changed, 15 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cbc27a5ce48..8765b715f45 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lostlabyrinth
pkgdesc = RPG turn based game
- pkgver = 5.2.1
+ pkgver = 5.3.0
pkgrel = 1
url = http://www.lostlabyrinth.com/
install = lostlabyrinth.install
@@ -13,12 +13,14 @@ pkgbase = lostlabyrinth
depends = sdl_image
depends = sdl_ttf
depends = sdl_mixer
- source = http://www.lostlabyrinth.com/download_5.2.1/lostlabyrinth_5.2.1.tar.gz
source = lostlabyrinth.desktop
source = lostlabyrinth.sh
- md5sums = 58fd0fb2b8a10d023f824f02989b8f9c
md5sums = 8feeeb9c84fdfcbc78875c6938e80c0c
md5sums = ea650ff17191f4adff8bcf7b8a2cf439
+ source_i686 = http://www.lostlabyrinth.com/download_5.3.0/lostlabyrinth_5.3.0.tar.gz
+ md5sums_i686 = 35e2c70b6ecc00fecd8cec590f6399fc
+ source_x86_64 = http://www.lostlabyrinth.com/download_5.3.0/lostlabyrinth_5.3.0_64x.tar.gz
+ md5sums_x86_64 = fd8138b761c48e20c831ea8c6575de09
pkgname = lostlabyrinth
diff --git a/PKGBUILD b/PKGBUILD
index 09e2c8ffed6..2db8633d80d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=lostlabyrinth
-pkgver=5.2.1
+pkgver=5.3.0
pkgrel=1
pkgdesc="RPG turn based game"
arch=('i686' 'x86_64')
@@ -9,30 +9,20 @@ url="http://www.lostlabyrinth.com/"
license=('GPL')
depends=('desktop-file-utils' 'libpng' 'sdl_gfx' 'sdl_image' 'sdl_ttf' 'sdl_mixer')
install=$pkgname.install
-
-if [ "$CARCH" = x86_64 ]
- then
- source=(http://www.lostlabyrinth.com/download_${pkgver}/${pkgname}_${pkgver}_64x.tar.gz \
- $pkgname.desktop \
- $pkgname.sh)
-md5sums=('5e4f0f2f5a2bbe7839aca23dd3833dd7'
- '8feeeb9c84fdfcbc78875c6938e80c0c'
- 'ea650ff17191f4adff8bcf7b8a2cf439')
- else
- source=(http://www.lostlabyrinth.com/download_${pkgver}/${pkgname}_${pkgver}.tar.gz \
- $pkgname.desktop \
- $pkgname.sh)
-md5sums=('58fd0fb2b8a10d023f824f02989b8f9c'
- '8feeeb9c84fdfcbc78875c6938e80c0c'
+source=($pkgname.desktop $pkgname.sh)
+source_x86_64=(http://www.lostlabyrinth.com/download_${pkgver}/${pkgname}_${pkgver}_64x.tar.gz)
+source_i686=(http://www.lostlabyrinth.com/download_${pkgver}/${pkgname}_${pkgver}.tar.gz)
+md5sums=('8feeeb9c84fdfcbc78875c6938e80c0c'
'ea650ff17191f4adff8bcf7b8a2cf439')
-fi
+md5sums_i686=('35e2c70b6ecc00fecd8cec590f6399fc')
+md5sums_x86_64=('fd8138b761c48e20c831ea8c6575de09')
package () {
cd "${srcdir}"/laby_$pkgver
install -d -m777 "${pkgdir}"/usr/share/$pkgname
cp -av * "${pkgdir}"/usr/share/$pkgname/
- install -D -m755 "${srcdir}"/$pkgname.sh "${pkgdir}"/usr/bin/$pkgname
+ install -Dm755 "${srcdir}"/$pkgname.sh "${pkgdir}"/usr/bin/$pkgname
#fixing permissions
find "${pkgdir}"/usr/share/$pkgname -type f -exec chmod 664 "{}" \;
@@ -40,8 +30,8 @@ package () {
chmod 755 "${pkgdir}"/usr/share/$pkgname/laby
#.desktop file + icon
- install -D -m644 "${srcdir}"/$pkgname.desktop \
+ install -Dm644 "${srcdir}"/$pkgname.desktop \
"${pkgdir}"/usr/share/applications/$pkgname.desktop
- install -D -m644 "${srcdir}"/laby_$pkgver/laby.xpm \
+ install -Dm644 "${srcdir}"/laby_$pkgver/laby.xpm \
"${pkgdir}"/usr/share/pixmaps/$pkgname.xpm
}