diff options
author | Ainola | 2018-09-09 13:31:12 -0600 |
---|---|---|
committer | Ainola | 2018-09-09 13:31:12 -0600 |
commit | ab585d051ea19a442f627e9bc613401fd2cd72e9 (patch) | |
tree | b7e0928332488f213536519300a0d5b08cd23f22 /PKGBUILD | |
parent | 9c6d3a8581bf7842345cdd0df79ab39d55250603 (diff) | |
download | aur-ab585d051ea19a442f627e9bc613401fd2cd72e9.tar.gz |
more PKGBUILD improvements
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -5,39 +5,39 @@ pkgname=ags pkgver=3.4.1.14 -pkgrel=2 +pkgrel=3 pkgdesc='A development tool that is primarily used to create graphical adventure games' arch=('x86_64') url='https://github.com/adventuregamestudio/ags' license=('Artistic2.0') -depends=('allegro4' 'dumb-a4' 'libogg' 'libtheora' 'libvorbis') +depends=('dumb-a4' 'libtheora' 'libvorbis') makedepends=('wxgtk') optdepends=('wine: for installing and configuring the game') -source=("https://github.com/adventuregamestudio/ags/archive/v.${pkgver}.tar.gz" +source=("$pkgname-$pkgver.tar.gz::https://github.com/adventuregamestudio/ags/archive/v.$pkgver.tar.gz" 'https://github.com/adventuregamestudio/ags/commit/44d954493bb5f3e95a11a4eddbb62bd6110b1b63.patch') sha256sums=('4ca76b919689c68a9fda4bd56bfb63268ab5326a539ce4d681ac4ed6a908b51c' '6b7092e5794ae532f79c5c6ad5f5761c217b3ec874da43537152fb8e60b20019') prepare() { - mv "ags-v.$pkgver" "$pkgname-$pkgver" + mv "ags-v.$pkgver" "$pkgname-$pkgver" - # Copious use of auto_ptr spams the compilation output. Until they're - # replaced, just suppress the message. - sed -i 's/-Wfatal-errors/-Wfatal-errors\ -Wno-deprecated-declarations/' \ - "$pkgname-$pkgver/Engine/Makefile-defs.linux" + # Copious use of auto_ptr spams the compilation output. Until they're + # replaced, just suppress the message. + sed -i 's/-Wfatal-errors/-Wfatal-errors\ -Wno-deprecated-declarations/' \ + "$pkgname-$pkgver/Engine/Makefile-defs.linux" - # avoid conflicts with glibc functions with the same names - patch -d "$pkgname-$pkgver" -p1 < ../44d954493bb5f3e95a11a4eddbb62bd6110b1b63.patch + # avoid conflicts with glibc functions with the same names + patch -d "$pkgname-$pkgver" -p1 < ../44d954493bb5f3e95a11a4eddbb62bd6110b1b63.patch } build() { - cd "ags-v.${pkgver}" - make -C Engine + cd "$pkgname-$pkgver" + make -C Engine } package() { - install -Dm755 "ags-v.${pkgver}/Engine/ags" \ - "$pkgdir/usr/bin/ags" + install -Dm755 "$pkgname-$pkgver/Engine/ags" \ + "$pkgdir/usr/bin/ags" } # vim: ts=2 sw=2 et |