public
Last active

  • Download Gist
Michael Gerhaeuser revised this gist . 1 changed file with 1 addition and 1 deletion. View gist @ 212f028
usbmuxd.PKGBUILD
2 
... 7 8 9 10   11 12 13 ... 7 8 9   10 11 12 13
@@ -7,7 +7,7 @@ pkgdesc="A USB multiplexing daemon."
url="http://sukimashita.com/"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('glib2' 'libxml2')
+depends=('glib2' 'libxml2' 'libimobiledevice-git')
makedepends=('git')
provides=('usbmuxd')
conflicts=('usbmuxd')
Michael Gerhaeuser revised this gist . 1 changed file with 1 addition and 1 deletion. View gist @ 21b9720
usbmuxd.PKGBUILD
2 
... 8 9 10 11   12 13 14 ... 8 9 10   11 12 13 14
@@ -8,7 +8,7 @@ url="http://sukimashita.com/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glib2' 'libxml2')
-makedepends=('git' 'cmake')
+makedepends=('git')
provides=('usbmuxd')
conflicts=('usbmuxd')
install='usbmuxd.install'
Michael Gerhaeuser revised this gist . 2 changed files with 12 additions and 15 deletions. View gist @ 20fdefc
libimobiledevice.PKGBUILD
4 
... 1 2 3 4   5 6 7 8 9 10   11 12 13 ... 1 2 3   4 5 6 7 8 9   10 11 12 13
@@ -1,13 +1,13 @@
# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
pkgname=libimobiledevice-git
-pkgver=1.1.0.353.gc7c49ae
+pkgver=1.1.0.406.g3c3a791
pkgrel=1
pkgdesc="libimobiledevice is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
url="http://www.libimobiledevice.org/"
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
-depends=('gnutls' 'libgcrypt' 'glib2' 'libplist-git' 'usbmuxd-git')
+depends=('gnutls' 'libgcrypt' 'glib2' 'libplist-git')
makedepends=('git' 'swig')
provides=('libiphone-git' 'libiphone' 'libimobiledevice=1.2')
conflicts=('libiphone-git' 'libiphone' 'libimobiledevice')
usbmuxd.PKGBUILD
23 
... 1 2 3 4   5 6 7 ... 1 2 3   4 5 6 7
@@ -1,7 +1,7 @@
# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
pkgname=usbmuxd-git
-pkgver=v1.0.8.8.g10939f3
+pkgver=v1.0.8.37.g4f695aa
pkgrel=1
pkgdesc="A USB multiplexing daemon."
url="http://sukimashita.com/"
... 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   ... 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  
@@ -24,34 +24,31 @@ pkgver() {
printf "%s" "${ver//-/.}"
}
build() {
- msg "Removing old build directory..."
- rm -Irf ${srcdir}/$_gitname-build
-
- msg "Creating new build directory..."
- cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
-
- cd ${srcdir}/$_gitname-build
+ cd ${srcdir}/$_gitname
msg "Starting make..."
- cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
+ ./autogen.sh --prefix=/usr
make || return 1
}
package() {
- cd ${srcdir}/$_gitname-build
+ cd ${srcdir}/$_gitname
make DESTDIR=${pkgdir} install || return 1
-
+
+ mkdir -p ${pkgdir}/usr/lib
+
# fix udev dir being hardcoded
- mv ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
+ mv -v ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
rmdir ${pkgdir}/lib
+
# install systemd service files
install -D -m644 ${srcdir}/usbmuxd.service ${pkgdir}/usr/lib/systemd/system/usbmuxd.service
# use udev rule that works with systemd
- install -m644 ${srcdir}/$_gitname-build/udev/85-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
+ install -m644 ${srcdir}/$_gitname/udev/39-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
}
# vim:set ts=2 sw=2:
\ No newline at end of file
Michael Gerhaeuser created this gist . View gist @ 6c5cf3f
libimobiledevice.PKGBUILD
38 
...                                                                               ... 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  
@@ -0,0 +1,38 @@
+# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
+
+pkgname=libimobiledevice-git
+pkgver=1.1.0.353.gc7c49ae
+pkgrel=1
+pkgdesc="libimobiledevice is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
+url="http://www.libimobiledevice.org/"
+arch=('i686' 'x86_64')
+license=('GPL2' 'LGPL2.1')
+depends=('gnutls' 'libgcrypt' 'glib2' 'libplist-git' 'usbmuxd-git')
+makedepends=('git' 'swig')
+provides=('libiphone-git' 'libiphone' 'libimobiledevice=1.2')
+conflicts=('libiphone-git' 'libiphone' 'libimobiledevice')
+options=('libtool')
+
+source="git+http://git.sukimashita.com/libimobiledevice.git"
+sha512sums=('SKIP')
+_gitname="libimobiledevice"
+
+pkgver() {
+ cd $_gitname
+ local ver="$(git describe --long)"
+ printf "%s" "${ver//-/.}"
+}
+
+build() {
+ cd ${srcdir}/$_gitname
+ msg "Starting make..."
+ ./autogen.sh --prefix=/usr --without-cython
+ make || return 1
+}
+
+package() {
+ cd $srcdir/$_gitname
+ make DESTDIR=$pkgdir install || return 1
+}
+
+# vim:set ts=2 #
\ No newline at end of file
usbmuxd.PKGBUILD
57 
...                                                                                                                     ... 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  
@@ -0,0 +1,57 @@
+# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
+
+pkgname=usbmuxd-git
+pkgver=v1.0.8.8.g10939f3
+pkgrel=1
+pkgdesc="A USB multiplexing daemon."
+url="http://sukimashita.com/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('glib2' 'libxml2')
+makedepends=('git' 'cmake')
+provides=('usbmuxd')
+conflicts=('usbmuxd')
+install='usbmuxd.install'
+_gitname="usbmuxd"
+source=("git+http://cgit.sukimashita.com/${_gitname}.git"
+ "usbmuxd.service")
+sha512sums=('SKIP'
+ '9771b422e9b48e11a0c2ecaafda06ea9acee651afd4f7e7589e9704d60bd9eb014f6b737d1e279735225f68d910183c698949ee153275e0873940dae00911210')
+
+pkgver() {
+ cd $srcdir/$_gitname
+ local ver="$(git describe --long)"
+ printf "%s" "${ver//-/.}"
+}
+build() {
+ msg "Removing old build directory..."
+ rm -Irf ${srcdir}/$_gitname-build
+
+ msg "Creating new build directory..."
+ cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
+
+ cd ${srcdir}/$_gitname-build
+
+ msg "Starting make..."
+
+ cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
+
+ make || return 1
+}
+
+package() {
+
+ cd ${srcdir}/$_gitname-build
+
+ make DESTDIR=${pkgdir} install || return 1
+
+ # fix udev dir being hardcoded
+ mv ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
+ rmdir ${pkgdir}/lib
+ # install systemd service files
+ install -D -m644 ${srcdir}/usbmuxd.service ${pkgdir}/usr/lib/systemd/system/usbmuxd.service
+ # use udev rule that works with systemd
+ install -m644 ${srcdir}/$_gitname-build/udev/85-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
+}
+
+# vim:set ts=2 sw=2:
\ No newline at end of file
Something went wrong with that request. Please try again.