summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0d2a0a3b5eaaee9e8f826b49e119308eb067569 (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: Ilias Stamatis <stamatis.iliass at gmail dot com>

pkgname=cppi
pkgver=1.18
pkgrel=1
pkgdesc="GNU Cppi indents C preprocessor directives to reflect their nesting, among other regularizations."
arch=(any)
url="https://www.gnu.org/software/cppi/"
license=('GPL3')
depends=('gawk')
source=("https://ftp.gnu.org/gnu/cppi/cppi-${pkgver}.tar.xz")
md5sums=('720f4e442287283a02979ba43a44366e')

build() {
  cd "${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}