summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c7a8e8fa3a647bc207fab856338ce9567c58e2d (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
# Maintainer: fordprefect <fordprefect@dukun.de>
pkgname=lmao
pkgver=0.5
pkgrel=1
pkgdesc="Low-level Malbolge Assembler, Ooh! is a tool that builds Malbolge programs from HeLL"
url="http://www.matthias-ernst.eu/malbolgeassembler.html"
arch=('x86_64' 'i686')
license=('GPL3')
depends=('glibc')
makedepends=('bison' 'flex' 'make' 'gcc' 'doxygen')
source=("http://www.matthias-ernst.eu/malbolge/lmao.tar.gz")
md5sums=('62a495a91e75ecef333d7a7e3e814f29')
 
build() {
    cd "${srcdir}/${pkgname}"
    make all
}
  
package() {
    install -Dm755 ${srcdir}/lmao/bin/lmao ${pkgdir}/usr/bin/lmao
    install -Dm644 ${srcdir}/lmao/example_cat_halt_on_eof.hell ${pkgdir}/usr/share/lmao/example_cat_halt_on_eof.hell
    install -Dm644 ${srcdir}/lmao/example_hello_world.hell ${pkgdir}/usr/share/lmao/example_hello_world.hell
    install -Dm644 ${srcdir}/lmao/example_simple_cat.hell ${pkgdir}/usr/share/lmao/example_simple_cat.hell
}