blob: 7b10055b076794a504aef26865e4cc7b4431309f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Maintainer: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
# Contributor: Matías Hernández <msdark(at)archlinux(dot)cl>
# Contributor: Hugo Ideler <hugoideler(at)dse(dot)nl>
#
# 2010.09.23 - some Info.plist does not contain a CFBundleName, use
# CFBundleDisplayName instead
# 2011.08.07 - fix gcc4.6 werror=sign-compare error (2012.03.21 fixed upstream)
# 2012.09.13 - updated fixes.patch to merge with upstream changes
# 2012.11.26 - removed fixes.patch, issue resolved upstream
# 2012.12.31 - reverted upstream changes re Info.list & Payload detection
# back to 2012.08.24
# 2013.01.16 - removed patch, Info.list & Payload detection resolved upstream
# 2013.06.19 - updated for new git vcs format
# 2013.07.29 - temporarily unset CPPFLAGS to ignore build warnings
# 2013.08.03 - use -Wno-error=unused-result in CFLAGS to ignore unused
# results warnings
# 2015.07.07 - removed -Werror to ignore compile warnings (Hugo Ideler)
# - PKGBUILD fixes and updated git versioning
# 2016.12.15 - updated URL and GIT repository links
pkgname=ideviceinstaller-git
_gitname=ideviceinstaller
pkgver=1.1.0.r13.g442f670
pkgrel=1
pkgdesc="Manage Applications of an iPhone or iPod Touch"
arch=('i686' 'x86_64')
url="http://www.libimobiledevice.org/"
license=('GPL')
groups=('system')
depends=('libimobiledevice' 'usbmuxd' 'libzip')
makedepends=('git' 'automake')
provides=('ideviceinstaller')
source=("git+https://github.com/libimobiledevice/${_gitname}.git")
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_gitname}
# Use the tag of the last commit
git describe --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
# Use current date
#date +%Y%m%d
}
build() {
cd ${srcdir}/${_gitname}
sed -i "/AS_COMPILER_FLAGS(/s/-Werror//" configure.ac
./autogen.sh --prefix=/usr
make
}
package() {
cd ${srcdir}/${_gitname}
make DESTDIR=${pkgdir} install
}
|