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

pkgname=qriollo
binname=qr
pkgver=0.91
pkgrel=2
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 -Dm555 Chamuyo.q "$pkgdir/usr/share/qriollo/Chamuyo.q"
    export RUTA_QRIOLLO="$pkgdir/usr/share/qriollo"
}

post_install() {
    echo "qriollo was installed correctly! Use it with:\n\t qr params"
}