summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorariasuni2019-04-28 03:05:39 +0200
committerariasuni2019-04-28 03:05:39 +0200
commit3dd241c8b87803fc1090acc15d1a2fcdf54eff79 (patch)
tree5fa5b7587f88dc580bcaea1503d9c241867a1f17
downloadaur-3dd241c8b87803fc1090acc15d1a2fcdf54eff79.tar.gz
initial commit
-rw-r--r--.SRCINFO12
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
3 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..67d26c4be12
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = xiaomitool-v2
+ pkgdesc = Modding of Xiaomi devices made easy for everyone
+ pkgver = 9.4.10
+ pkgrel = 1
+ url = https://www.xiaomitool.com/V2/
+ arch = any
+ license = custom
+ source = https://github.com/francescotescari/XMT/releases/download/v9.4.10/XMT2_Linux_Debian_9.4.10.deb
+ sha256sums = 7d329e1043dca0b38d162a3f34906b2cb57ec81a1f8e5ee8adf01a62783e5ba8
+
+pkgname = xiaomitool-v2
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c6d4c6feb3e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+*.deb
+*.pkg.* \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a06afc463bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Mélanie Chauvel (ariasuni) <perso@hack-libre.org>
+
+pkgname=xiaomitool-v2
+pkgver=9.4.10
+pkgrel=1
+pkgdesc='Modding of Xiaomi devices made easy for everyone'
+arch=(any)
+license=(custom)
+url=https://www.xiaomitool.com/V2/
+source=(https://github.com/francescotescari/XMT/releases/download/v$pkgver/XMT2_Linux_Debian_$pkgver.deb)
+sha256sums=('7d329e1043dca0b38d162a3f34906b2cb57ec81a1f8e5ee8adf01a62783e5ba8')
+
+build() {
+ cd $srcdir
+ ar x $(basename $source)
+ tar xf data.tar.xz
+}
+
+package() {
+ cd $srcdir
+ cp -r opt res usr $pkgdir
+}