summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD23
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..b65d13c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = finbudg
+ pkgdesc = Quick cli tool to calculate your expenses and balance for a set period of time
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/Yaroslav-95/finbudg
+ arch = any
+ license = MIT
+ makedepends = rust
+ makedepends = cargo
+ makedepends = make
+ makedepends = scdoc
+ makedepends = git
+ makedepends = binutils
+ provides = finbudg
+ conflicts = finbudg
+ source = finbudg-0.2.0.tar.gz::https://github.com/Yaroslav-95/finbudg/archive/v0.2.0.tar.gz
+ md5sums = SKIP
+
+pkgname = finbudg
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ae8de97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tar.*
+src
+pkg
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..a62808b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Yaroslav de la Peña Smirnov <yps@yaroslavps.com>
+pkgname=finbudg
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Quick cli tool to calculate your expenses and balance for a set period of time"
+arch=('any')
+url="https://github.com/Yaroslav-95/finbudg"
+license=('MIT')
+makedepends=('rust' 'cargo' 'make' 'scdoc' 'git' 'binutils')
+provides=('finbudg')
+conflicts=('finbudg')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Yaroslav-95/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}