summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-10 17:06:06 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-10 18:44:53 -0300
commitb898f888b2b1b545b1c4b81c83bea3a5fe7208c4 (patch)
treefdb7ce4ceeb9d3c693a918def693fd9fc9a74fd8
parent6663b9a3548fb3796567f51cd1e002a9b87756ae (diff)
sunxi-tools: add new package to [pcr]
-rw-r--r--pcr/sunxi-tools/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/sunxi-tools/PKGBUILD b/pcr/sunxi-tools/PKGBUILD
new file mode 100644
index 000000000..a6a9f2f1e
--- /dev/null
+++ b/pcr/sunxi-tools/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer (Arch): Marco Kundt <mrckndt@gmail.com>
+
+pkgname=sunxi-tools
+pkgver=1.3
+pkgrel=1
+pkgdesc="Tools to help hacking Allwinner devices."
+arch=('i686' 'x86_64')
+url="https://github.com/linux-sunxi/sunxi-tools"
+license=('GPL')
+depends=(libusb)
+makedepends=(libusb)
+source=(https://github.com/linux-sunxi/${pkgname}/archive/v${pkgver}.tar.gz)
+sha256sums=('2aa0afc21476ee9b03acff20a19f32c522106e61bcbfa1a9463168fe90a85fc5')
+
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm755 -d $pkgdir/usr/bin
+ install -Dm755 -t $pkgdir/usr/bin sunxi-fexc sunxi-bootinfo sunxi-fel sunxi-nand-part fex2bin bin2fex
+}