diff options
author | Slashbunny | 2014-10-04 13:34:18 -0400 |
---|---|---|
committer | Slashbunny | 2014-10-04 13:34:18 -0400 |
commit | 569432ffd125aec53b1337e9fc5c5ad36188694d (patch) | |
tree | a08c14854fcff747186174f73347bc8482ca7b7b /PKGBUILD | |
parent | e6ffdb9f0235058685d103767c440bcbd59e0037 (diff) | |
download | aur-569432ffd125aec53b1337e9fc5c5ad36188694d.tar.gz |
Update ezquake to 2.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 61 |
1 files changed, 34 insertions, 27 deletions
@@ -1,7 +1,7 @@ -# Contributor: Slash <demodevil5[at]yahoo[dot]com> +# Maintainer: Slash <demodevil5[at]yahoo[dot]com> pkgname=ezquake -pkgver=2.1 +pkgver=2.2 pkgrel=1 pkgdesc="One of the most Popular QuakeWorld clients for Linux/BSD/OSX/Win32. You need the retail pak files to play." url="http://ezquake.sourceforge.net/" @@ -12,48 +12,55 @@ conflicts=('fuhquake') provides=('quake' 'fuhquake') arch=('i686' 'x86_64') install=ezquake.install -source=("http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux32_${pkgver}.tar.gz" \ +source=("http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux64_${pkgver}.tar.gz" +'http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux64_2.1.tar.gz' 'ezquake.launcher' 'ezquake.desktop' 'ezquake.ico') -md5sums=('e238c2c0985a96598bd26a6ee116bee3' - 'bad99b7adc7c238f1df2fc4973c00ae6' - '75cfa823bf495fe4cdb755c6b5546f2a' - 'b3fd62bf6f56f139257544cab74ba71e') -noextract=("ezquake_linux32_${pkgver}.tar.gz") - -if [ $CARCH = 'x86_64' ]; then - source[0]="http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux64_${pkgver}.tar.gz" - md5sums[0]='00dc037b8f0442ae816025ef88c06c5e' - noextract=("ezquake_linux64_${pkgver}.tar.gz") +noextract=("ezquake_linux64_${pkgver}.tar.gz" 'ezquake_linux64_2.1.tar.gz') +sha256sums=('b7735c680403678955f7d04a51265d216fb787fbdb343628b69418bfdb5c7203' + 'b3f2de84bd71904895910be9be621cd5462cf689007e9a5e8a6ed3acdfa8b981' + 'b5099392cc02ac0b4a7f073542b7e240b78842c36ac8d0921bbb85a1221e5d45' + 'e92b9cdeac5eadced50a6167eb53b1343b0772d3bf8afa310eb281b88bf7e677' + '2a6a5484ddb4cfaf8518b51df39ffd1fa8ce768402eab6401415bececb8e8ab2') + +if [ $CARCH = 'i686' ]; then + source[0]="http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux32_${pkgver}.tar.gz" + source[1]='http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux32_2.1.tar.gz' + md5sums[0]='655e8ec60c619ab5d1435882436296b88fc279c2963f01dd277f34939336c067' + md5sums[1]='bf322d27ae182258ca2d9083ccaa26eda12efe52b075583d327353b87e702310' + noextract=("ezquake_linux32_${pkgver}.tar.gz" 'ezquake_linux32_2.1.tar.gz') fi -build() { - cd ${srcdir} +package() { + cd "${srcdir}" - # Make Destination Directories - install -d ${pkgdir}/opt/quake + # Create Destination Directories + install -d "${pkgdir}/opt/quake" # Unpack ezQuake if [ $CARCH = 'x86_64' ]; then - bsdtar -x -o -C ${pkgdir}/opt/quake -f ${srcdir}/ezquake_linux64_${pkgver}.tar.gz + bsdtar -x -o -C "${pkgdir}/opt/quake" -f "${srcdir}/ezquake_linux64_2.1.tar.gz" + bsdtar -x -o -C "${pkgdir}/opt/quake" -f "${srcdir}/ezquake_linux64_${pkgver}.tar.gz" else - bsdtar -x -o -C ${pkgdir}/opt/quake -f ${srcdir}/ezquake_linux32_${pkgver}.tar.gz + bsdtar -x -o -C "${pkgdir}/opt/quake" -f "${srcdir}/ezquake_linux32_2.1.tar.gz" + bsdtar -x -o -C "${pkgdir}/opt/quake" -f "${srcdir}/ezquake_linux32_${pkgver}.tar.gz" fi # Make id1 Directory for pak0.pak and pak1.pak files - install -d ${pkgdir}/opt/quake/id1/ + install -d "${pkgdir}/opt/quake/id1/" # Make save game Directory with user group permissions - install -d -m775 -g users ${pkgdir}/opt/quake/qw/save/ + install -d -m775 -g users "${pkgdir}/opt/quake/qw/save/" # Install Icon - install -D -m644 ${srcdir}/ezquake.ico \ - ${pkgdir}/usr/share/pixmaps/ezquake.ico + install -D -m644 "${srcdir}/ezquake.ico" \ + "${pkgdir}/usr/share/pixmaps/ezquake.ico" # Install Launcher - install -D -m755 ${srcdir}/ezquake.launcher \ - ${pkgdir}/usr/bin/ezquake + install -D -m755 "${srcdir}/ezquake.launcher" \ + "${pkgdir}/usr/bin/ezquake" # Install Desktop - install -D -m644 ${srcdir}/ezquake.desktop \ - ${pkgdir}/usr/share/applications/ezquake.desktop + install -D -m644 "${srcdir}/ezquake.desktop" \ + "${pkgdir}/usr/share/applications/ezquake.desktop" } + |