summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b78c184e4db5b12a05829087605d0c82609419fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Gonzalo Ciruelos <gonzalo.ciruelos@gmail.com> 

pkgname=qriollo
binname=qr
pkgver=0.91
pkgrel=13
install=.INSTALL
pkgdesc="El lenguaje más boludo del mundo"
arch=('i686' 'x86_64')
url="http://qriollo.github.io"
makedepends=('git' 'ghc')
source=('qriollo::git+https://github.com/qriollo/qriollo.git')
md5sums=('SKIP')


build() {
    cd $pkgname
    make
}

package() {
    cd $pkgname
    install -Dm755 $binname "$pkgdir/usr/bin/$binname"
    install -Dm666 Chamuyo.q "$pkgdir/usr/share/qriollo/Chamuyo.q"

    echo "export RUTA_QRIOLLO=".:/usr/share/qriollo"" > qriollo.sh
    install qriollo.sh -Dm755 $pkgdir/etc/profile.d/qriollo.sh
}