diff options
author | Jan Alexander Steffens (heftig) | 2020-07-04 01:51:21 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) | 2020-07-04 01:51:34 +0200 |
commit | 018ea8587e1513f4aefef8c4f7b40465f2175788 (patch) | |
tree | 63e48323429bc2451447bfbd06778190ab0e05eb | |
parent | aa184eee68f14e255d590426ac82882b155ef730 (diff) | |
download | aur-018ea8587e1513f4aefef8c4f7b40465f2175788.tar.gz |
Use git
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 28 insertions, 30 deletions
@@ -1,24 +1,22 @@ -# Generated by mksrcinfo v8 -# Fri Feb 10 07:25:20 UTC 2017 -pkgbase = opentyrian-hg - pkgdesc = Port of the classic DOS game Tyrian - pkgver = 1114 +pkgbase = opentyrian-git + pkgdesc = Open-source port of the DOS shoot-em-up Tyrian + pkgver = 1132 pkgrel = 1 - url = https://bitbucket.org/opentyrian/opentyrian/wiki/Home + url = https://github.com/opentyrian/opentyrian arch = i686 arch = x86_64 - license = GPL3 license = GPL2 - makedepends = mercurial + makedepends = git depends = sdl2 depends = sdl2_net provides = opentyrian conflicts = opentyrian replaces = opentyrian-svn - source = opentyrian::hg+https://bitbucket.org/opentyrian/opentyrian#branch=sdl2 + replaces = opentyrian-hg + source = git+https://github.com/opentyrian/opentyrian source = http://www.camanis.net/opentyrian/tyrian21.zip - md5sums = SKIP - md5sums = 2a3b206a6de25ed4b771af073f8ca904 + sha256sums = SKIP + sha256sums = 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277 -pkgname = opentyrian-hg +pkgname = opentyrian-git @@ -1,25 +1,25 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> -pkgname=opentyrian-hg -pkgver=1114 +pkgname=opentyrian-git +pkgver=1132 pkgrel=1 -pkgdesc="Port of the classic DOS game Tyrian" -url="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" +pkgdesc="Open-source port of the DOS shoot-em-up Tyrian" +url="https://github.com/opentyrian/opentyrian" arch=(i686 x86_64) -license=(GPL3 GPL2) +license=(GPL2) depends=(sdl2 sdl2_net) -makedepends=(mercurial) +makedepends=(git) provides=(opentyrian) conflicts=(opentyrian) -replaces=(opentyrian-svn) -source=("opentyrian::hg+https://bitbucket.org/opentyrian/opentyrian#branch=sdl2" +replaces=(opentyrian-svn opentyrian-hg) +source=("git+https://github.com/opentyrian/opentyrian" http://www.camanis.net/opentyrian/tyrian21.zip) -md5sums=('SKIP' - '2a3b206a6de25ed4b771af073f8ca904') +sha256sums=('SKIP' + '7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277') pkgver() { cd opentyrian - hg id -n + git rev-list --count HEAD } package() { @@ -29,15 +29,15 @@ package() { CFLAGS="-pedantic -MMD $CFLAGS" \ LDFLAGS="$LDFLAGS" - install -Dm644 linux/opentyrian.desktop "$pkgdir/usr/share/applications/opentyrian.desktop" + install -Dt "$pkgdir/usr/share/applications" -m644 linux/opentyrian.desktop for _x in 22 24 32 48 128; do - install -D -m644 "linux/icons/tyrian-$_x.png" \ + install -Dm644 "linux/icons/tyrian-$_x.png" \ "$pkgdir/usr/share/icons/hicolor/${_x}x${_x}/apps/opentyrian.png" done cd ../tyrian21 - mkdir -p "$pkgdir/usr/share/games/tyrian" - for _x in *.dat *.lvl *.shp *.snd demo.* music.mus tyrend.anm tyrian.{cdt,hdt,pic} tshp2.pcx; do - install -m644 "$_x" "$pkgdir/usr/share/games/tyrian" - done + install -Dt "$pkgdir/usr/share/games/tyrian" -m644 *.dat *.lvl *.shp *.snd \ + demo.* music.mus tyrend.anm tyrian.{cdt,hdt,pic} tshp2.pcx } + +# vim:set sw=2 et: |