summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72ff3c41570..4fc90d4d492 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = auin
pkgdesc = Archlinux system installation script.
pkgver = v4.0.5
- pkgrel = 1
+ pkgrel = 2
url = https://www.auroot.cn/
arch = any
license = GPL3
- source = https://www.auroot.cn/shell/auin-v4.0.5.tar.gz
- md5sums = 42f6f1a5ebb8d9fad4fc2f97232a4843
+ source = https://gitee.com/auroot/Arch_install/attach_files/552104/download/auin-v4.0.5.tar.gz
+ md5sums = 7a13530a621e45f9b758fb00147b91ef
pkgname = auin
diff --git a/PKGBUILD b/PKGBUILD
index 58124da783a..4fd47921442 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,24 @@
# Maintainer: Auroot <2763833502@qq.com>
pkgname='auin'
pkgver=v4.0.5
-pkgrel=1
+pkgrel=2
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')
+_mirror="https://gitee.com/auroot/Arch_install/attach_files"
+source=("$_mirror/552104/download/$pkgname-$pkgver.tar.gz")
+md5sums=('7a13530a621e45f9b758fb00147b91ef')
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/"
+ rm ${srcdir}/$pkgname-$pkgver.tar.gz
+ cp -a ${srcdir}/* "${HOME}/.auin/"
+ install -m775 "${srcdir}/auin" "${HOME}/.auin/"
msg "Create a link to the executable file ...."
- ln -sf "${HOME}/.auin/auin.sh" "${pkgdir}/usr/bin/auin"
+ ln -sf "${HOME}/.auin/auin" "${pkgdir}/usr/bin/auin"
}