[arch-commits] Commit in blobwars/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Sun Oct 6 09:43:58 UTC 2019
Date: Sunday, October 6, 2019 @ 09:43:58
Author: lcarlier
Revision: 513125
fix quoting, switch to sha256sums
Modified:
blobwars/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-06 09:36:45 UTC (rev 513124)
+++ PKGBUILD 2019-10-06 09:43:58 UTC (rev 513125)
@@ -1,4 +1,5 @@
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
# Contributor: Allan McRae <allan at archlinux.org>
# Contributor: geekitus
@@ -11,10 +12,10 @@
license=('GPL')
makedepends=('sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'sdl2_net')
source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('73baa49a41151140818cf14cb77d57b4')
+sha256sums=('c406279f6cdf2aed3c6edb8d8be16efeda0217494acd525f39ee2bd3e77e4a99')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd blobwars-${pkgver}
# use install instead of mkdir/cp
sed -i -e 's/mkdir -p/install -dm755/g' \
@@ -25,7 +26,7 @@
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd blobwars-${pkgver}
make RELEASE=1
}
@@ -33,21 +34,11 @@
package() {
depends=('hicolor-icon-theme' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf' 'sdl2_net' 'blobwars-data>=2.0')
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd blobwars-${pkgver}
- make DESTDIR=${pkgdir} BINDIR="/usr/bin/" install
+ make DESTDIR="${pkgdir}" BINDIR="/usr/bin/" install
# We remove data files (See blobwars-data)
rm -r "${pkgdir}/usr/share/games"
-
- # namcap: does not have the world readable bit set.
- #chmod 644 "${pkgdir}"/usr/share/doc/blobwars/*
- #chmod 644 "${pkgdir}"/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps/*
- #chmod 644 "${pkgdir}"/usr/share/applications/blobwars.desktop
-
- #chmod a+r "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- #chmod a+r -R "${pkgdir}/usr/share/icons/hicolor/"
- #install -dm755 "${pkgdir}/usr/share/pixmaps"
- #install -m644 icons/blobwars.png "${pkgdir}/usr/share/pixmaps/"
}
More information about the arch-commits
mailing list