[arch-commits] Commit in frogatto-data/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jul 28 02:07:05 UTC 2020


    Date: Tuesday, July 28, 2020 @ 02:07:04
  Author: svenstaro
Revision: 665598

upgpkg: frogatto-data 1.3.1-5

Modified:
  frogatto-data/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-28 01:56:40 UTC (rev 665597)
+++ PKGBUILD	2020-07-28 02:07:04 UTC (rev 665598)
@@ -1,11 +1,11 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 # Contributor: Tom Wambold <tom5760 at gmail.com>
 
-pkgname='frogatto-data'
+pkgname=frogatto-data
 _pkgname='frogatto'
 arch=('any')
 pkgver=1.3.1
-pkgrel=4
+pkgrel=5
 pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog (data files)"
 url="http://www.frogatto.com"
 license=('custom')
@@ -14,22 +14,14 @@
 source=("frogatto-$pkgver.tar.gz::https://github.com/frogatto/frogatto/tarball/$pkgver")
 sha512sums=('8c549811f0a89560a8367ddc2e7dd3510cc8162a68f3431d811bf0b2e1977c20bdaf5f90e6e143ce0044711203a964bf46cbb40712b5dd7e8ed45dddb981051d')
 
-build() {
-  cd "$srcdir/$_pkgname-$_pkgname"*
-}
-
 package() {
-  cd "$srcdir/$_pkgname-$_pkgname"*
+  cd "$_pkgname-$_pkgname"*
 
-  mkdir -p $pkgdir/opt/frogatto/
-  cp -r data $pkgdir/opt/frogatto/
-  cp -r images $pkgdir/opt/frogatto/
-  cp -r music $pkgdir/opt/frogatto/
-  cp -r modules $pkgdir/opt/frogatto/
-  install -D -m644 FreeMono.ttf $pkgdir/opt/frogatto/FreeMono.ttf
-  install -D -m644 DejaVuSans.ttf $pkgdir/opt/frogatto/DejaVuSans.ttf
-
-  install -D -m644 LICENSE $pkgdir/usr/share/licenses/frogatto-data/LICENSE
+  mkdir -p "$pkgdir"/opt/frogatto/
+  cp -r data images music modules "$pkgdir"/opt/frogatto/
+  install -D -m644 FreeMono.ttf "$pkgdir"/opt/frogatto/FreeMono.ttf
+  install -D -m644 DejaVuSans.ttf "$pkgdir"/opt/frogatto/DejaVuSans.ttf
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/frogatto-data/LICENSE
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list