summaryrefslogtreecommitdiff
path: root/community/alure/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Molina García <lluvia@singularity.fr>2012-06-03 17:20:42 +0200
committerDaniel Molina García <lluvia@singularity.fr>2012-06-03 17:20:42 +0200
commitabcaa80b2d3bb539503c485bfea891adc7ffc193 (patch)
tree4870c7c2842a5e85722236c45752c4fe1e8c68d2 /community/alure/PKGBUILD
parenta046040f61679b0b9cbf2fb7822d6febe01d5570 (diff)
Adding a patch which includes unistd.h. With it the package is compiled.
Diffstat (limited to 'community/alure/PKGBUILD')
-rw-r--r--community/alure/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/alure/PKGBUILD b/community/alure/PKGBUILD
index 213949842..bc710db00 100644
--- a/community/alure/PKGBUILD
+++ b/community/alure/PKGBUILD
@@ -16,12 +16,16 @@ optdepends=('libsndfile: for uncompressed audio support'
'mpg123: for MPEG 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")
-md5sums=('3088aba074ad02d95ea51e705053b9f5')
+source=("http://kcat.strangesoft.net/alure-releases/${pkgname}-${pkgver}.tar.bz2"
+ 'unistd.patch')
+md5sums=('3088aba074ad02d95ea51e705053b9f5'
+ '17d3f8b4dc423cac64772e5694739fce')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np0 -i "$srcdir/unistd.patch"
+
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}