summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhuantianad2021-06-18 20:47:05 -0700
committerhuantianad2021-06-18 20:47:05 -0700
commiteef7b2af5907fc6c3eabd3946dba9aca14d7b8c5 (patch)
tree7008d012033c09fccf10f3768f9b7ca711770359
downloadaur-eef7b2af5907fc6c3eabd3946dba9aca14d7b8c5.tar.gz
Initial creation
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD25
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..28d0eacf026
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = pax-mc
+ pkgdesc = The MC modpack manager for professionals.
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = https://github.com/froehlicha/pax
+ arch = any
+ license = MIT
+ makedepends = git
+ makedepends = nim
+ makedepends = nimble
+ provides = pax-mc
+ conflicts = pax-mc-bin
+ conflicts = pax-mc-git
+ source = pax-1.3.0.tar.gz::https://github.com/froehlichA/pax/archive/refs/tags/v.1.3.0.tar.gz
+ sha256sums = d7448af105647704313af13f35c2ca6a76b5df88fae63c27a03f40844c7a868C
+
+pkgname = pax-mc
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..21498911a16
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+.directory
+pkg
+src
+pax-*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..300d45f3520
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: David Li <davidtianli@gmail.com>
+pkgname=pax-mc
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="The MC modpack manager for professionals."
+arch=('any')
+url="https://github.com/froehlicha/pax"
+license=('MIT')
+makedepends=('git' 'nim' 'nimble')
+provides=('pax-mc')
+conflicts=('pax-mc-bin' 'pax-mc-git')
+replaces=()
+changelog=
+source=("pax-${pkgver}.tar.gz::https://github.com/froehlichA/pax/archive/refs/tags/v.${pkgver}.tar.gz")
+sha256sums=('d7448af105647704313af13f35c2ca6a76b5df88fae63c27a03f40844c7a868C')
+
+build() {
+ cd "${srcdir}/pax-v.${pkgver}"
+ echo "y" | nimble build
+}
+
+package() {
+ install -d -m755 "${pkgdir}/usr/bin"
+ install -m755 "${srcdir}/pax-v.${pkgver}/pax" "${pkgdir}/usr/bin/pax"
+}