diff --git a/.SRCINFO b/.SRCINFO index 4fd5897..750a977 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = multimc-bin pkgdesc = Free, open source launcher and instance manager for Minecraft. pkgver = 1.6 - pkgrel = 2 + pkgrel = 3 url = http://multimc.org/ arch = i686 arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index d65e433..2ca0e16 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Petr Mrázek pkgname=multimc-bin pkgver=1.6 -pkgrel=2 +pkgrel=3 pkgdesc="Free, open source launcher and instance manager for Minecraft." arch=('i686' 'x86_64') url="http://multimc.org/" @@ -16,25 +16,27 @@ sha1sums=('b943427e5f32f6a41d77a373029731c67571901d' noextract=("$pkgname-$pkgver.deb") prepare() { - mkdir -p $pkgname-$pkgver && bsdtar -xf $pkgname-$pkgver.deb -C $pkgname-$pkgver - cd $srcdir/$pkgname-$pkgver && bsdtar -xf data.tar.xz -C $srcdir/$pkgname-$pkgver + mkdir -p "$pkgname-$pkgver" + bsdtar -xf $pkgname-$pkgver.deb -C "$pkgname-$pkgver" + cd "$srcdir/$pkgname-$pkgver" + bsdtar -xf data.tar.xz -C "$srcdir/$pkgname-$pkgver" } package() { - mkdir -p "$pkgdir/opt/multimc" - mkdir -p "$pkgdir/usr/share/metainfo" - mkdir -p "$pkgdir/usr/share/applications" - mkdir -p "$pkgdir/usr/bin" - mkdir -p "$pkgdir/usr/share/man/man1" + mkdir -p "$pkgdir/opt/multimc" + mkdir -p "$pkgdir/usr/share/metainfo" + mkdir -p "$pkgdir/usr/share/applications" + mkdir -p "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/man/man1" - cp -R "$srcdir/$pkgname-$pkgver/opt/multimc/" -T "$pkgdir/opt/multimc/" - cp -R "$srcdir/$pkgname-$pkgver/usr/share/metainfo/" -T "$pkgdir/usr/share/metainfo/" - cp -R "$srcdir/$pkgname-$pkgver/usr/share/applications/" -T "$pkgdir/usr/share/applications/" + cp -R "$srcdir/$pkgname-$pkgver/opt/multimc/" -T "$pkgdir/opt/multimc/" + cp -R "$srcdir/$pkgname-$pkgver/usr/share/metainfo/" -T "$pkgdir/usr/share/metainfo/" + cp -R "$srcdir/$pkgname-$pkgver/usr/share/applications/" -T "$pkgdir/usr/share/applications/" - install -m644 -D "$srcdir/$pkgname-$pkgver/usr/share/applications/multimc.desktop" "$pkgdir/usr/share/applications/multimc.desktop" - install -m644 -D "$srcdir/$pkgname-$pkgver/usr/share/metainfo/multimc.metainfo.xml" "$pkgdir/usr/share/metainfo/multimc.metainfo.xml" - install -m644 -D "$srcdir/$pkgname-$pkgver/opt/multimc/icon.svg" "$pkgdir/opt/multimc/icon.svg" - install -m755 -D "$srcdir/$pkgname-$pkgver/opt/multimc/run.sh" "$pkgdir/opt/multimc/run.sh" - install -m755 -D "$srcdir/multimc.1" "$pkgdir/usr/share/man/man1/multimc.1" - ln -s "/opt/multimc/run.sh" "$pkgdir/usr/bin/multimc" + install -m644 -D "$srcdir/$pkgname-$pkgver/usr/share/applications/multimc.desktop" "$pkgdir/usr/share/applications/multimc.desktop" + install -m644 -D "$srcdir/$pkgname-$pkgver/usr/share/metainfo/multimc.metainfo.xml" "$pkgdir/usr/share/metainfo/multimc.metainfo.xml" + install -m644 -D "$srcdir/$pkgname-$pkgver/opt/multimc/icon.svg" "$pkgdir/opt/multimc/icon.svg" + install -m755 -D "$srcdir/$pkgname-$pkgver/opt/multimc/run.sh" "$pkgdir/opt/multimc/run.sh" + install -m755 -D "$srcdir/multimc.1" "$pkgdir/usr/share/man/man1/multimc.1" + ln -s "/opt/multimc/run.sh" "$pkgdir/usr/bin/multimc" }