mirror of
https://github.com/archlinux/aur.git
synced 2026-02-28 17:33:27 +01:00
[add] sienna-git
This commit is contained in:
commit
05d8e456bb
5 changed files with 80 additions and 0 deletions
22
.SRCINFO
Normal file
22
.SRCINFO
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
pkgbase = sienna-git
|
||||
pkgdesc = Simple, fast-paced one-button platformer (development version)
|
||||
pkgver = r51.gba33bd8
|
||||
pkgrel = 1
|
||||
url = http://tangramgames.dk/games/sienna/
|
||||
arch = any
|
||||
license = CCPL:by-nc
|
||||
license = CCPL:by-nc-nd
|
||||
license = zlib
|
||||
makedepends = zip
|
||||
depends = love08
|
||||
source = git+https://github.com/SimonLarsen/sienna.git
|
||||
source = sienna.sh
|
||||
source = sienna.desktop
|
||||
source = sienna.png
|
||||
sha256sums = SKIP
|
||||
sha256sums = c8dc5b2fbd8bf30c9632b814fe6577a6ba9618b52b22364ff611e160a73d3b91
|
||||
sha256sums = d0107f767feeb3228217513c99088799c8a57b79de8574aabdee57fa69d6a22b
|
||||
sha256sums = 4aea1186e5a19c03ab19a5b2ec85a873503b069c123a69b903789806526ba040
|
||||
|
||||
pkgname = sienna-git
|
||||
|
||||
46
PKGBUILD
Normal file
46
PKGBUILD
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
|
||||
|
||||
pkgname=sienna-git
|
||||
pkgver=r51.gba33bd8
|
||||
pkgrel=1
|
||||
pkgdesc="Simple, fast-paced one-button platformer (development version)"
|
||||
arch=('any')
|
||||
url="http://tangramgames.dk/games/sienna/"
|
||||
license=('CCPL:by-nc' 'CCPL:by-nc-nd' 'zlib')
|
||||
depends=('love08')
|
||||
makedepends=('zip')
|
||||
source=("git+https://github.com/SimonLarsen/sienna.git"
|
||||
"sienna.sh"
|
||||
"sienna.desktop"
|
||||
"sienna.png")
|
||||
sha256sums=('SKIP'
|
||||
'c8dc5b2fbd8bf30c9632b814fe6577a6ba9618b52b22364ff611e160a73d3b91'
|
||||
'd0107f767feeb3228217513c99088799c8a57b79de8574aabdee57fa69d6a22b'
|
||||
'4aea1186e5a19c03ab19a5b2ec85a873503b069c123a69b903789806526ba040')
|
||||
|
||||
pkgver() {
|
||||
cd sienna
|
||||
printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd sienna
|
||||
# generate love file
|
||||
rm -f sienna.love
|
||||
zip -9 -q -r sienna.love . -x ".git/*"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd sienna
|
||||
|
||||
# copy generated love package
|
||||
install -Dm644 sienna.love "$pkgdir"/usr/share/sienna/sienna.love
|
||||
# launcher
|
||||
install -Dm755 ../sienna.sh "$pkgdir"/usr/bin/sienna
|
||||
# readme + license
|
||||
install -Dm644 README.md "$pkgdir"/usr/share/doc/sienna/README.md
|
||||
install -Dm644 LICENCE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
# desktop entry
|
||||
install -Dm644 ../sienna.desktop "$pkgdir"/usr/share/applications/sienna.desktop
|
||||
install -Dm644 ../sienna.png "$pkgdir"/usr/share/pixmaps/sienna.png
|
||||
}
|
||||
9
sienna.desktop
Normal file
9
sienna.desktop
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Sienna
|
||||
Comment=Simple, fast-paced one-button platformer
|
||||
Exec=sienna
|
||||
Icon=sienna
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Game;ArcadeGame;
|
||||
BIN
sienna.png
Normal file
BIN
sienna.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
3
sienna.sh
Normal file
3
sienna.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec love08 /usr/share/sienna/sienna.love "$@"
|
||||
Loading…
Add table
Reference in a new issue