diff options
Diffstat (limited to 'community/alure/PKGBUILD')
-rw-r--r-- | community/alure/PKGBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/community/alure/PKGBUILD b/community/alure/PKGBUILD index da9ad5247..ad3937dc3 100644 --- a/community/alure/PKGBUILD +++ b/community/alure/PKGBUILD @@ -3,7 +3,7 @@ pkgname=alure pkgver=1.2 -pkgrel=2.1 +pkgrel=3 pkgdesc='Utility library to help manage common tasks with OpenAL applications.' arch=('i686' 'x86_64' 'mips64el') url='http://kcat.strangesoft.net/alure.html' @@ -17,14 +17,22 @@ optdepends=('libsndfile: for uncompressed audio support' 'dumb: for IT, XM, S3M and MOD support' 'fluidsynth: for SoundFont 2 support') source=("http://kcat.strangesoft.net/alure-releases/${pkgname}-${pkgver}.tar.bz2" - 'unistd.patch') + 'unistd.patch' + build.patch) md5sums=('3088aba074ad02d95ea51e705053b9f5' - '17d3f8b4dc423cac64772e5694739fce') + '17d3f8b4dc423cac64772e5694739fce' + '6a8dfd62ccae920d393b4202736aba46') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../build.patch + test "$CARCH" = "mips64el" && patch -Np0 -i "$srcdir/unistd.patch" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" cmake . -DCMAKE_INSTALL_PREFIX=/usr make |