aboutsummaryrefslogtreecommitdiffstats
path: root/gpp/PKGBUILD
blob: 0edb13b23519b202b256e702751a7778bbd29b00 (plain) (blame)
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: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=general-preprocessor
pkgver=2.1
pkgrel=1
pkgdesc="Bash-based preprocessor for anything"
url="https://github.com/maandree/gpp"
arch=(any)
license=('custom:ISC')
depends=()
optdepends=('bash: default shell')
source=("gpp-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=(ef305acf927ba6a37aa7e250b3a3d4f1fd4e0513a98acd6d2bdcdc15e4930faf)


build () {
        cd "${srcdir}/gpp-${pkgver}"
        make PREFIX="/usr" DESTDIR="${pkgdir}"
}

package () {
        cd "${srcdir}/gpp-${pkgver}"
        make PREFIX="/usr" DESTDIR="${pkgdir}" install
}