ctucx.git: aur-packages

My personal aur-packages [deprecated in favor of nixos]

commit 19273a284497ad35b0795da4ffc1fa89b793dde9
parent ba7126288ea74ff26323d2447ee0db2e62698f53
Author: ctucx <c@ctu.cx>
Date: Wed, 3 Feb 2021 10:50:19 +0100

initial commit
2 files changed, 35 insertions(+), 0 deletions(-)
A
smartied/.SRCINFO
|
14
++++++++++++++
A
smartied/PKGBUILD
|
21
+++++++++++++++++++++
diff --git a/smartied/.SRCINFO b/smartied/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = smartied
+	pkgver = 0.1
+	pkgrel = 1
+	url = https://cgit.ctu.cx/gallery/
+	arch = x86_64
+	license = GPL-3
+	makedepends = nim
+	makedepends = nimble
+	depends = glibc
+	source = smartied-b8e7923f78be9180206e45b59faff2d7d0f8329c.tar.gz::https://cgit.ctu.cx/smartied/snapshot/smartied-b8e7923f78be9180206e45b59faff2d7d0f8329c.tar.gz
+	sha256sums = 76667170e1392a74d0578e6628e61dd6ffa389a5250fb4db8ed8a896c3d184eb
+
+pkgname = smartied
+
diff --git a/smartied/PKGBUILD b/smartied/PKGBUILD
@@ -0,0 +1,21 @@
+pkgname=smartied
+pkgver=0.1
+pkgrel=1
+arch=('x86_64')
+url="https://cgit.ctu.cx/gallery/"
+license=( 'GPL-3' )
+depends=( 'glibc' )
+makedepends=( 'nim' 'nimble' )
+_commit="b8e7923f78be9180206e45b59faff2d7d0f8329c"
+source=("${pkgname}-${_commit}.tar.gz::https://cgit.ctu.cx/${pkgname}/snapshot/${pkgname}-${_commit}.tar.gz")
+sha256sums=('76667170e1392a74d0578e6628e61dd6ffa389a5250fb4db8ed8a896c3d184eb')
+
+build() {
+  cd "$srcdir/${pkgname}-${_commit}/"
+  nimble build -d:release -y
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${_commit}"
+  install -Dm755 ./smartied "$pkgdir"/usr/bin/smartied
+}