diff options
author | Matyas Mehn | 2022-03-17 16:46:45 +0100 |
---|---|---|
committer | Matyas Mehn | 2022-03-17 16:46:45 +0100 |
commit | c43979ab8ef894c0751d4e5f9b1cdcd51bc4ef34 (patch) | |
tree | aef7880b62fe12892da20db9804e9d1e610a4f38 | |
download | aur-c43979ab8ef894c0751d4e5f9b1cdcd51bc4ef34.tar.gz |
Initial Commit
Signed-off-by: Matyas Mehn <matyas.mehn@tum.de>
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..945adf439e23 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = ctb-git + pkgdesc = Circuit Toolbox for Matlab/Octave + pkgver = 20150618 + pkgrel = 1 + url = https://github.com/thliebig/CTB + arch = x86_64 + license = LGPL3 + makedepends = make + source = git+https://github.com/thliebig/CTB + md5sums = SKIP + +pkgname = ctb-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0df961f94a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |