summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD33
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6b64f5fb47f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = idevicerestore-git
+ pkgdesc = Restores firmware and filesystem to iPhone/iPod Touch
+ pkgver = 107.fde8082
+ pkgrel = 1
+ url = http://github.com/posixninja/idevicerestore
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ depends = usbmuxd
+ depends = libirecovery-git
+ depends = libimobiledevice>=1.1.0
+ source = git://github.com/posixninja/idevicerestore.git
+ md5sums = SKIP
+
+pkgname = idevicerestore-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0c7dfb24b31
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Matthew Bauer <mjbauer95@gmail.com>
+
+_pkgname=idevicerestore
+pkgname=$_pkgname-git
+pkgver=107.fde8082
+pkgrel=1
+pkgdesc="Restores firmware and filesystem to iPhone/iPod Touch"
+arch=('i686' 'x86_64')
+url="http://github.com/posixninja/$_pkgname"
+license=('custom')
+depends=('usbmuxd' 'libirecovery-git' 'libimobiledevice>=1.1.0')
+makedepends=('git')
+source=(git://github.com/posixninja/$_pkgname.git)
+md5sums=('SKIP')
+
+
+pkgver() {
+ cd $_pkgname
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+
+ #sed -i -e 's/\/usr\/local\//\/usr\//g' src/Makefile.am
+ ./autogen.sh --prefix=/usr
+ make libirecovery_CFLAGS="-I/usr/include" libirecovery_LIBS="-L/usr/lib -lirecovery -lusb-1.0"
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make DESTDIR=$pkgdir install
+}