summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b15cfafc35eb5fb420f6d189545ae10e8de1c609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Mirko Rovere <04mirko@libero.it>

pkgname="baracle"
pkgver="1.5.1"
pkgrel="2"
pkgdesc="Let's make a text editor like in the 70's"
arch=("x86_64")
url="https://github.com/Mirko-r/baracle"
depends=('gcc')
optdepends=('mimalloc: To use the mimalloc library instead of the standard malloc()')
license=("GPL-3.0")
source=("https://github.com/Mirko-r/baracle/releases/download/$pkgver/baracle.c")
sha512sums=("SKIP")

package(){
    gcc baracle.c -o baracle -Wall -Wextra -pedantic -std=c99
    install -Dm0755 "${srcdir}/baracle" "${pkgdir}/usr/bin/baracle"
}