mirror of
https://github.com/archlinux/aur.git
synced 2026-02-28 14:33:23 +01:00
[upd], [fix] better pkgver, use love
This commit is contained in:
parent
d641000925
commit
f513a4bbe5
3 changed files with 14 additions and 10 deletions
8
.SRCINFO
8
.SRCINFO
|
|
@ -1,17 +1,19 @@
|
|||
pkgbase = iyfct-git
|
||||
pkgdesc = In Your Face City Trains - survive as long as you can (development version)
|
||||
pkgver = r36.gae0aa39
|
||||
pkgver = 1.02.r0.g7f40df1
|
||||
pkgrel = 1
|
||||
url = http://simonlarsen.github.io/2011/05/29/in-your-face-city-trains.html
|
||||
arch = any
|
||||
license = CCPL:by
|
||||
license = GPL3
|
||||
makedepends = zip
|
||||
depends = love08
|
||||
depends = love
|
||||
provides = iyfct
|
||||
conflicts = iyfct
|
||||
source = git+https://github.com/SimonLarsen/iyfct.git
|
||||
source = iyfct.sh
|
||||
sha256sums = SKIP
|
||||
sha256sums = 8a10e898f242c6966a20ff1727dbbd4af2d30f870aa64d6b53e532b5845846f3
|
||||
sha256sums = 89a21553f5a47f1a5d43a32eafb4261e5fc169292319214d68d9748f25f08e28
|
||||
|
||||
pkgname = iyfct-git
|
||||
|
||||
|
|
|
|||
14
PKGBUILD
14
PKGBUILD
|
|
@ -1,22 +1,24 @@
|
|||
# Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
|
||||
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
|
||||
|
||||
pkgname=iyfct-git
|
||||
pkgver=r36.gae0aa39
|
||||
pkgver=1.02.r0.g7f40df1
|
||||
pkgrel=1
|
||||
pkgdesc="In Your Face City Trains - survive as long as you can (development version)"
|
||||
arch=('any')
|
||||
url="http://simonlarsen.github.io/2011/05/29/in-your-face-city-trains.html"
|
||||
license=('CCPL:by' 'GPL3')
|
||||
depends=('love08')
|
||||
depends=('love')
|
||||
makedepends=('zip')
|
||||
conflicts=("${pkgname%-*}")
|
||||
provides=("${pkgname%-*}")
|
||||
source=("git+https://github.com/SimonLarsen/iyfct.git"
|
||||
"iyfct.sh")
|
||||
sha256sums=('SKIP'
|
||||
'8a10e898f242c6966a20ff1727dbbd4af2d30f870aa64d6b53e532b5845846f3')
|
||||
'89a21553f5a47f1a5d43a32eafb4261e5fc169292319214d68d9748f25f08e28')
|
||||
|
||||
pkgver() {
|
||||
cd iyfct
|
||||
printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
git describe --long --tags | sed -r 's/^v//;s/-/.r/;s/-/./'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
|
|
@ -35,5 +37,5 @@ package() {
|
|||
install -Dm755 ../iyfct.sh "$pkgdir"/usr/bin/iyfct
|
||||
# readme + license
|
||||
install -Dm644 README.textile "$pkgdir"/usr/share/doc/iyfct/README.textile
|
||||
install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
|
||||
}
|
||||
|
|
|
|||
2
iyfct.sh
2
iyfct.sh
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec love08 /usr/share/iyfct/iyfct.love "$@"
|
||||
exec love /usr/share/iyfct/iyfct.love "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue