summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIvan Shapovalov2014-05-26 19:34:05 +0400
committerIvan Shapovalov2014-07-02 13:01:13 +0400
commitea0bad53dab78f95ed44e2f81587e931f038379a (patch)
treed2bee7230edc3f5d0ec715085d9926e19742f11c /PKGBUILD
parent3db7fc0dd050ba44df3fc6ce9ecb56b7b90d1089 (diff)
downloadaur-ea0bad53dab78f95ed44e2f81587e931f038379a.tar.gz
Automated: update to 481.704afa3-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0c7dfb24b31..72a043fa642 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,39 @@
+# Maintainer: Ivan Shapovalov <intelfx100@gmail.com>
# Contributor: Matthew Bauer <mjbauer95@gmail.com>
-_pkgname=idevicerestore
-pkgname=$_pkgname-git
-pkgver=107.fde8082
+pkgname=idevicerestore-git
+pkgver=481.704afa3
pkgrel=1
-pkgdesc="Restores firmware and filesystem to iPhone/iPod Touch"
+pkgdesc="Restore/upgrade firmware of iOS devices"
arch=('i686' 'x86_64')
-url="http://github.com/posixninja/$_pkgname"
-license=('custom')
-depends=('usbmuxd' 'libirecovery-git' 'libimobiledevice>=1.1.0')
+url="http://www.libimobiledevice.org"
+license=('LGPL3')
+depends=('usbmuxd-git' 'libirecovery-git' 'libimobiledevice-git' 'libzip' 'openssl' 'curl')
makedepends=('git')
-source=(git://github.com/posixninja/$_pkgname.git)
+source=("git://git.sukimashita.com/idevicerestore.git")
md5sums=('SKIP')
-
pkgver() {
- cd $_pkgname
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ cd idevicerestore
+
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd idevicerestore
+
+ sed -re 's|automake|& --add-missing|' -i autogen.sh
}
build() {
- cd "$srcdir/$_pkgname"
+ cd idevicerestore
- #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
+ cd idevicerestore
+
+ make DESTDIR="$pkgdir" install
}