summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1849c0f568b34d5cff5d3f10af805f1821db3579 (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.4
pkgrel=1
pkgdesc="Low-level Malbolge Assembler, Ooh! is a tool that builds Malbolge programs from HeLL"
url="https://www.matthias-ernst.eu/malbolgeassembler.html"
arch=('x86_64' 'i686')
license=('GPL3')
depends=('glibc')
makedepends=('bison' 'flex' 'make' 'gcc' 'doxygen')
source=("https://www.matthias-ernst.eu/malbolge/lmao.tar.gz")
md5sums=('05314007cff89a68ff86467ed210f8a8')
 
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
}