From e6b6c6f22dd5a528d288c9c60110b5df9b8ecd13 Mon Sep 17 00:00:00 2001 From: Evan Burkey Date: Fri, 4 Jul 2025 06:50:02 -0700 Subject: [PATCH] inital 1.0 pkg --- .SRCINFO | 12 ++++++++++++ .gitignore | 7 +++++++ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..8b12209 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = epochcli + pkgdesc = Updater and launcher for Project Epoch + pkgver = 1.0 + pkgrel = 1 + url = https://git.burkey.co/eburk/epochcli + arch = x86_64 + license = ISC + makedepends = go>=1.24.0 + source = git+https://git.burkey.co/eburk/epochcli#commit=134d70e29b3b19365e2ccdd879c2421b9fb5dfac + sha256sums = SKIP + +pkgname = epochcli diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e2679b --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +#Ignore everything +* + +#But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c705712 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Evan Burkey +pkgname=epochcli +pkgver=1.0 +pkgrel=1 +epoch= +pkgdesc="Updater and launcher for Project Epoch" +arch=('x86_64') +url="https://git.burkey.co/eburk/epochcli" +license=('ISC') +makedepends=('go>=1.24.0') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +source=("git+https://git.burkey.co/eburk/epochcli#commit=134d70e29b3b19365e2ccdd879c2421b9fb5dfac") +noextract=() +sha256sums=("SKIP") + +build() { + msg "Building the bee binaries" + msg2 "using gopath $GOPATH" + pushd epochcli + go build +} + +package() { + pushd epochcli + install -v -D -m0755 epochcli ${pkgdir}/usr/bin/epochcli +}