blob: a79b9bd8f190e501fc00859cc5ac20bb8a57a7c4 (
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
|
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch>
pkgname=clp
pkgver=0.3.0
pkgrel=2
pkgdesc='writes input files to stdout with syntax highlighting'
arch=('x86_64' 'aarch64')
url="https://git.sr.ht/~eskin/clp"
license=('custom')
depends=('luajit' 'lua51-lpeg' 'lua51-luautf8')
source=("${pkgname}-${pkgver}.tar.gz::https://git.sr.ht/~eskin/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('a832775b68ba625106d0e58ec1ec646fe7f3abc8371e0a878c9ffe107be559bb')
conflicts=("${pkgname}-git")
build() {
cd "${pkgname}-v${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-v${pkgver}"
make MANPREFIX=/usr/share/man DESTDIR="${pkgdir}" install
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|