diff options
author | Björn Bidar | 2018-01-01 00:03:20 +0100 |
---|---|---|
committer | Björn Bidar | 2018-01-01 00:03:20 +0100 |
commit | 25038af999ced6bb572577bf9f82302232359234 (patch) | |
tree | da842d4bc7ab5864d9933f4c755294e6b4d4d26b | |
parent | 3adb95a729541a2de90f079c8d3f8da8a7639640 (diff) | |
download | aur-25038af999ced6bb572577bf9f82302232359234.tar.gz |
upkg, changed upstream url
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 22 insertions, 19 deletions
@@ -1,22 +1,22 @@ # Generated by mksrcinfo v8 -# Fri Oct 28 09:40:41 UTC 2016 +# Sun Dec 31 23:02:13 UTC 2017 pkgbase = wargus pkgdesc = Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine - pkgver = 2.3.0 + pkgver = 2.4.1 pkgrel = 1 - url = http://wargus.sourceforge.net/ + url = https://github.com/WARGUS/WARGUS install = wargus.install arch = i686 arch = x86_64 license = GPL - depends = stratagus=2.3.0 + depends = stratagus=2.4.1 depends = ffmpeg2theora depends = cdparanoia depends = timidity++ depends = gtk2 depends = tolua++ - source = http://launchpad.net/wargus/trunk/2.3/+download/wargus_2.3.0.orig.tar.gz - md5sums = 46d5d1b64d78efc3ddaab119e4a2ea33 + source = https://github.com/Wargus/wargus/archive/v2.4.1.tar.gz + md5sums = 4a387868da26df4a4aebff19b6b7b6b1 pkgname = wargus @@ -1,29 +1,32 @@ # Contributor: Thaodan <theodorstormgrade@gmail.com> pkgname=wargus -pkgver=2.3.0 +pkgver=2.4.1 pkgrel=1 pkgdesc="Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine" arch=("i686" "x86_64") -url="http://wargus.sourceforge.net/" +url="https://github.com/WARGUS/WARGUS" license=('GPL') depends=( "stratagus=$pkgver" 'ffmpeg2theora' 'cdparanoia' 'timidity++' 'gtk2' 'tolua++' ) -source=("http://launchpad.net/wargus/trunk/${pkgver%%??}/+download/${pkgname}_${pkgver}.orig.tar.gz") -md5sums=('46d5d1b64d78efc3ddaab119e4a2ea33') +source=("https://github.com/Wargus/$pkgname/archive/v${pkgver}.tar.gz") +md5sums=('4a387868da26df4a4aebff19b6b7b6b1') install=wargus.install +prepare() +{ + mkdir -p build +} build() { - cd $srcdir/${pkgname}_${pkgver}.orig - mkdir -p build - cd build - - cmake .. -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin - make + cd build + cmake "$srcdir"/"$pkgname-$pkgver" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DGAMEDIR=/usr/bin + make } package() { - cd $srcdir/${pkgname}_${pkgver}.orig/build - make DESTDIR=${pkgdir} install + cd build + make DESTDIR=${pkgdir} install } |