summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 799526fda9f42aea0204b8c89e72d44225097f97 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: David Adler <d.adler@posteo.de>

_pkgname=gnucap-custom
pkgname=$_pkgname-git
pkgver=r33.0483cea
pkgrel=1
pkgdesc="customisable executable + a few plugins for gnucap"
arch=('x86_64')
url="https://gitlab.com/gnucap/gnucap-custom"
license=('GPL')
depends=('gnucap')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://gitlab.com/gnucap/$_pkgname.git")
md5sums=('SKIP')


pkgver() {
    cd $_pkgname
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd $_pkgname
    ./configure 
    make
}

check() {
    cd $_pkgname
    make check
}

package() {
    cd $_pkgname
    make DESTDIR="$pkgdir/" install
}