summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25d7256b5ccd46119d14f0b39cc06706504656c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG

pkgname=duckmarines
pkgver=1.0c
pkgrel=1
pkgdesc="Free software remake of Sonic Team's ChuChu Rocket"
arch=('any')
url="http://tangramgames.dk/games/duckmarines/"
license=('zlib' 'CCPL')
depends=('love')
source=("https://github.com/SimonLarsen/duckmarines/releases/download/v$pkgver/duckmarines-$pkgver.love"
        "duckmarines.sh"
        "duckmarines.desktop")
sha256sums=('09eaf2365cde378737898e04453a933ea1a334b4932cee08833f4112f7bc6fe7'
            '0023f4949c45a9fdbef807a0295340c01f97d288bd1ce1d78e8c1a5fad0f6045'
            '1a7bd7e614f147a117622f42854048c36afe24dad3c9e2e5a3b206b43104bad4')

package() {
  # love package + launcher
  install -Dm644 duckmarines-$pkgver.love "$pkgdir"/usr/share/duckmarines/duckmarines.love
  install -Dm755 duckmarines.sh "$pkgdir"/usr/bin/duckmarines
  # readme + license
  install -Dm644 README.md "$pkgdir"/usr/share/doc/duckmarines/README.md
  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
  # desktop entry
  install -Dm644 duckmarines.desktop "$pkgdir"/usr/share/applications/duckmarines.desktop
  install -Dm644 res/icons/48x48.png "$pkgdir"/usr/share/pixmaps/duckmarines.png
}