1 # Contributor: Jeremy Cowgar <jeremy@cowgar.com>
5 pkgdesc="Fast interpreted or compiled general purpose programming language"
6 url="http://openeuphoria.org"
7 license=('custom:"OpenEuphoria License"')
8 source=(http://sourceforge.net/projects/rapideuphoria/files/Euphoria/$pkgver/Linux/${pkgname}-LINUX-${pkgver}.tar.gz)
11 if [ "$CARCH" = "x86_64" ]; then
12 depends=('lib32-glibc')
13 makedepends=('gcc-multilib')
17 cd "${srcdir}/${pkgname}-LINUX-${pkgver}/source"
19 ./configure --prefix=/usr
25 cd "${srcdir}/${pkgname}-LINUX-${pkgver}/source"
27 ## The installer cretes the bin dir too late :'( ##
28 mkdir -p "${pkgdir}/usr/bin"
29 # Base and Tool install
30 make DESTDIR="${pkgdir}" install install-tools
32 # Install our license file per ArchLinux spec
33 mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
34 install -m 644 "${srcdir}/${pkgname}-LINUX-${pkgver}/License.txt" "${pkgdir}/usr/share/licenses/${pkgname}/"
36 # Make an initial eu.cfg
39 -i /usr/share/${pkgname}/include
41 mkdir -p "${pkgdir}/etc/${pkgname}"
42 install -m644 eu.cfg "${pkgdir}/etc/${pkgname}"
45 md5sums=('3c034c7f0725d30dcd29213203be9315')