diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c739836b08e8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,64 @@ +# Maintainer: Michiru Saito <urihcim at gmail dot com> +pkgname=gura +pkgver=0.7.0 +pkgrel=1 +pkgdesc="An iterator-oriented programming language" +arch=('i686' 'x86_64') +url='http://www.gura-lang.org/' +license=('unknown') +depends=('readline') +makedepends=('cmake' + 'make' + 'gcc' + 'bzip2' + 'cairo' + 'curl' + 'freetype2' + 'fftw' + 'glu' + 'freeglut' + 'gmp' + 'zlib' + 'libjpeg-turbo' + 'alsa-lib' + #'liblinear' + #'libsvm' + 'libgl' + 'mesa' + 'libpng' + 'oniguruma' + 'sdl' + 'sdl2' + 'sqlite' + #'tcl' + #'tk' + 'libtiff' + 'wxgtk2' + 'expat' + 'libyaml') +source=("https://github.com/gura-lang/gura/releases/download/v${pkgver}/gura-${pkgver}-src.tar.gz" + "Value.h.patch" + "build-modules.gura.patch") +md5sums=('5aeb3b21a5f78bd13c2d0940f1ed31d2' + 'ef277211f12747b5504e73f011c8cb9c' + '53597e9ab12a52468e010d2a1caa1262') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/Value.h.patch" + patch -p1 -i "${srcdir}/build-modules.gura.patch" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + mkdir -p build + cd build + ../configure + make + ./build-modules +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/build" + make DESTDIR="${pkgdir}" install +} |