diff options
author | jxir | 2019-09-17 20:29:59 +0200 |
---|---|---|
committer | jxir | 2019-09-17 20:29:59 +0200 |
commit | 2982dea24192efda203888650c2bd2c17c354f53 (patch) | |
tree | 6b8b469a41ae69a0ebc99c72d94f3dee5234e0c9 | |
download | aur-2982dea24192efda203888650c2bd2c17c354f53.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0ccc6027873f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = mucalc-git + pkgdesc = Convenient calculator for the command line + pkgver = 1.7.r2.g070412f + pkgrel = 1 + url = https://git.marlam.de/gitweb/?p=mucalc.git + arch = x86_64 + license = GPL3 + makedepends = git + depends = muparser + depends = readline + provides = mucalc + conflicts = mucalc + source = git+https://git.marlam.de/git/mucalc.git + sha256sums = SKIP + +pkgname = mucalc-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7a8de8ba6e97 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: jxir <aur@jxir.de> + +pkgname=mucalc-git +pkgver=1.7.r2.g070412f +pkgrel=1 +pkgdesc="Convenient calculator for the command line" +arch=('x86_64') +url="https://git.marlam.de/gitweb/?p=mucalc.git" +license=('GPL3') +depends=('muparser' 'readline') +makedepends=('git') +provides=('mucalc') +conflicts=('mucalc') +source=('git+https://git.marlam.de/git/mucalc.git') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/mucalc" + git describe --long --tags | sed 's/v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/mucalc" + make +} + +package() { + cd "$srcdir/mucalc" + install -Dm755 mucalc "$pkgdir/usr/bin/mucalc" +} |