summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Chesters2021-06-03 22:03:13 +0200
committerDaniel Chesters2021-06-03 22:11:11 +0200
commit9e276f6afc7ae6f13fd653673bc06aa32bae2e49 (patch)
tree2044d20d83fbd069ae89dbc2a1cd115a7dd30369
downloadaur-9e276f6afc7ae6f13fd653673bc06aa32bae2e49.tar.gz
Add version 1.0.0-1 of the PKGBUILD
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD27
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5273beeba06
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = kalker
+ pkgdesc = A calculator program that supports user-defined variables, functions, derivation, and integration.
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = https://github.com/PaddiM8/kalker
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = cargo
+ depends = gcc-libs
+ source = kalker-1.0.0.tar.gz::https://github.com/PaddiM8/kalker/archive/v1.0.0.tar.gz
+ b2sums = e62b4c6959fce045e4209fc5c4d73ccacd38a0a3ae6236b927081bf8d5540fcd4443b48ab677215bee771d2b6b4368ecdaf6f42f40abb37eb62cb429a70c5449
+
+pkgname = kalker
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..44f27c04b1e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg
+src
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dfbbc8b582e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer : Daniel Chesters <daniel.chesters@gmail.com>
+# Contributor : Daniel Chesters <daniel.chesters@gmail.com>
+
+pkgname=kalker
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A calculator program that supports user-defined variables, functions, derivation, and integration."
+url="https://github.com/PaddiM8/kalker"
+depends=('gcc-libs')
+makedepends=('cargo')
+arch=('i686' 'x86_64')
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PaddiM8/$pkgname/archive/v$pkgver.tar.gz")
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
+b2sums=('e62b4c6959fce045e4209fc5c4d73ccacd38a0a3ae6236b927081bf8d5540fcd4443b48ab677215bee771d2b6b4368ecdaf6f42f40abb37eb62cb429a70c5449')