diff options
author | Caleb Fontenot | 2021-01-25 17:49:32 -0600 |
---|---|---|
committer | Caleb Fontenot | 2021-01-25 19:46:08 -0600 |
commit | ac082924ce85cd2861f884e294c05ace7c3fe6ab (patch) | |
tree | ba2679c3805a0ac31cd7cb3cbdd4b9797104d4fc | |
download | aur-ac082924ce85cd2861f884e294c05ace7c3fe6ab.tar.gz |
Initial commit
Initial commit
Initial commit
Initial commit
Initial commit
Initial commit
Initial commit
Initial commit
Initial commit
Initial commit
Ready for AUR
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7f8a192d5c92 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = packwiz-git + pkgdesc = A command line tool for creating minecraft modpacks. + pkgver = f2c6b89 + pkgrel = 1 + url = https://github.com/comp500/packwiz + arch = any + license = 'MIT' + makedepends = go + depends = go + provides = packwiz + source = git+https://github.com/comp500/packwiz.git + sha256sums = SKIP + +pkgname = packwiz-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..def4e09454b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pkg.tar.zst +packwiz +src +pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a72ee9cfd611 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Caleb Fontenot <foley2431 at gmail dot com> +pkgname=packwiz-git +pkgver=f2c6b89 +url="https://github.com/comp500/packwiz" +pkgrel=1 +pkgdesc="A command line tool for creating minecraft modpacks." +arch=('any') +license=('MIT') +depends=('go') +source=("git+https://github.com/comp500/packwiz.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/packwiz" + #git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git rev-parse --short HEAD +} + +build() { + cd "$srcdir/packwiz" + go build +} + +package() { + cd "$srcdir/packwiz" + install -Dm755 packwiz "${pkgdir}/usr/bin/packwiz" + + } |