blob: 3765ef9dae93fb508a7f24270a7ff6ac141b9066 (
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
|
# Maintainer: Thomas Gläßle <t_glaessle@gmx.de>
_pkgname=citip
pkgname=citip-git
pkgver=2020_07_23..6e46631
pkgrel=2
pkgdesc="Information Theoretic Inequality Prover (CLI)"
arch=('x86_64')
url="https://github.com/coldfix/Citip"
license=('GPL-3.0-or-later')
depends=('gcc-libs' 'glibc' 'glpk')
makedepends=('git')
provides=("$_pkgname")
source=("$_pkgname::git+https://github.com/coldfix/${_pkgname}")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git log -1 --format='%cd..%h' --date=short | tr - _
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
mkdir -p "$pkgdir/usr/bin"
install -m755 Citip "$pkgdir/usr/bin"
}
|