summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a79fb9b539b21a1ba5efbf720fd0d9d58e1c0ad2 (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
# Maintainer: Andrew Sun <adsun701 at gmail dot com>
# Contributor: Eric Le Lay <contact at elelay dot fr>

pkgname=ansifilter
pkgver=2.21
pkgrel=1
pkgdesc="remove or convert ANSI codes to another format"
arch=('i686' 'x86_64' 'pentium4' 'i486' 'aarch64')
url="https://gitlab.com/saalen/ansifilter"
license=('GPL3')
depends=('glibc' 'gcc-libs')
options=(!debug)
source=("https://gitlab.com/saalen/ansifilter/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('5ea7cfdfd0752d5a169259da005c18b9037628036fd89d8b82624bacec9c1390')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make all
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  rm "${pkgdir}/usr/share/doc/ansifilter/COPYING" \
     "${pkgdir}/usr/share/doc/ansifilter/INSTALL"
}