summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4c2f3e8877f48fe9aabcdce874bddc432158382 (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
29
30
# Maintainer: Gonzalo Ciruelos <gonzalo.ciruelos@gmail.com> 

pkgname=qriollo
binname=qr
pkgver=0.91
pkgrel=7
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"" > /etc/profile.d/$(pkgname).sh
}

post_install() {
    qr
}