summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAuroot2020-12-15 22:04:17 +0800
committerAuroot2020-12-15 22:04:17 +0800
commit5ca5577ad526643ed2b4255ec598369bcc44b1e4 (patch)
tree5f855df884489b372853133e60e1e7bac6a0d7ae
downloadaur-5ca5577ad526643ed2b4255ec598369bcc44b1e4.tar.gz
Auroot
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD24
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..72ff3c41570
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = auin
+ pkgdesc = Archlinux system installation script.
+ pkgver = v4.0.5
+ pkgrel = 1
+ url = https://www.auroot.cn/
+ arch = any
+ license = GPL3
+ source = https://www.auroot.cn/shell/auin-v4.0.5.tar.gz
+ md5sums = 42f6f1a5ebb8d9fad4fc2f97232a4843
+
+pkgname = auin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..58124da783a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Auroot <2763833502@qq.com>
+pkgname='auin'
+pkgver=v4.0.5
+pkgrel=1
+arch=('any')
+url="https://www.auroot.cn/"
+pkgdesc="Archlinux system installation script."
+license=('GPL3')
+_mirror="https://www.auroot.cn"
+source=("$_mirror/shell/$pkgname-$pkgver.tar.gz")
+md5sums=('42f6f1a5ebb8d9fad4fc2f97232a4843')
+build(){
+ msg "Extracting DPKG package ..."
+ mkdir -p "${srcdir}/"
+ tar zxf $pkgname-$pkgver.tar.gz -C "${srcdir}/"
+}
+package() {
+ mkdir -p "${HOME}/.auin"
+ install -d "${pkgdir}/usr/bin/"
+ cp -a ${srcdir}/auin/$pkgname-$pkgver/* "${HOME}/.auin/"
+ install -m775 "${srcdir}/$pkgname-$pkgver/auin.sh" "${HOME}/.auin/"
+ msg "Create a link to the executable file ...."
+ ln -sf "${HOME}/.auin/auin.sh" "${pkgdir}/usr/bin/auin"
+}