summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatol Pomozov2015-06-17 08:53:40 -0700
committerAnatol Pomozov2015-06-17 08:53:40 -0700
commit4bdeb83c874e18c32e5166065fbe52a3ef1e1af6 (patch)
tree13265447003ba642e7576fb046b6d71992c46a92
downloadaur-4bdeb83c874e18c32e5166065fbe52a3ef1e1af6.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8eeb1abeb7d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = tegrarcm
+ pkgdesc = Tegra ReCovery Mode tool; communicates with Tegra boot ROM to download code over USB
+ pkgver = 1.6
+ pkgrel = 1
+ url = https://github.com/NVIDIA/tegrarcm
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = crypto++
+ depends = libusb
+ source = tegrarcm-1.6.zip::https://github.com/NVIDIA/tegrarcm/archive/v1.6.zip
+ sha1sums = bad9aeed48dab24c7176ce07b1684be29887543d
+
+pkgname = tegrarcm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c474d14596b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+
+pkgname=tegrarcm
+pkgver=1.6
+pkgrel=1
+pkgdesc='Tegra ReCovery Mode tool; communicates with Tegra boot ROM to download code over USB'
+arch=(i686 x86_64)
+url='https://github.com/NVIDIA/tegrarcm'
+license=(custom)
+depends=(crypto++ libusb)
+source=(tegrarcm-$pkgver.zip::https://github.com/NVIDIA/tegrarcm/archive/v$pkgver.zip)
+sha1sums=('bad9aeed48dab24c7176ce07b1684be29887543d')
+
+build() {
+ cd tegrarcm-$pkgver
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd tegrarcm-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}