summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD21
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..64823f32bec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = bak-bin
+ pkgdesc = A backup tool written in bash (binary version)
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/gamemaker1/bak
+ arch = any
+ license = AGPL3
+ depends = bash
+ depends = coreutils
+ depends = tar
+ depends = zip
+ depends = unzip
+ provides = bak
+ conflicts = bak
+ conflicts = bak-git
+ source = bak-0.1.0.tar.zst::https://github.com/gamemaker1/bak/releases/download/0.1.0/bak-0.1.0-1-any.pkg.tar.zst
+ sha256sums = cdca97c5822ca6c22f11df30721fe6b6a23073c34c2a89c933bb5461350afb79
+
+pkgname = bak-bin
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..21f86cae94a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg
+src
+*.tar* \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d4fdd4314c3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Vedant K (gamemaker1) <gamemaker0042 at gmail dot com>
+
+pkgname=bak-bin
+pkgver=0.1.0
+pkgrel=1
+epoch=
+pkgdesc="A backup tool written in bash (binary version)"
+arch=("any")
+url="https://github.com/gamemaker1/bak"
+license=("AGPL3")
+provides=("${pkgname%-bin}")
+conflicts=("${pkgname%-bin}" "${pkgname%-bin}-git")
+depends=("bash" "coreutils" "tar" "zip" "unzip")
+source=("${pkgname%-bin}-$pkgver.tar.zst::https://github.com/gamemaker1/${pkgname%-bin}/releases/download/$pkgver/${pkgname%-bin}-$pkgver-$pkgrel-any.pkg.tar.zst")
+sha256sums=('cdca97c5822ca6c22f11df30721fe6b6a23073c34c2a89c933bb5461350afb79')
+
+package() {
+ install -Dm775 "usr/bin/bak" "$pkgdir/usr/bin/bak"
+ install -Dm644 "usr/share/man/man1/bak.1" "$pkgdir/usr/share/man/man1/bak.1"
+ install -Dm644 "usr/share/licenses/bak/LICENSE" "$pkgdir/usr/share/licenses/bak/LICENSE"
+}