summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0df961f94a0744b4a9b6f6d126fd5778ae3275c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Matyas Mehn <matyas.mehn at tum dot de>

_pkgname=CTB
pkgname=ctb-git
pkgver=20150618
pkgrel=1
pkgdesc="Circuit Toolbox for Matlab/Octave"
arch=("x86_64")
url="https://github.com/thliebig/$_pkgname"
license=("LGPL3")
makedepends=("make")
source=("git+https://github.com/thliebig/$_pkgname")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
}

package() {
  cd "${srcdir}/${_pkgname}"
  make PREFIX=$pkgdir/usr install
}