diff options
author | root <root@rshg054.dnsready.net> | 2012-07-31 00:02:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-31 00:02:30 +0000 |
commit | 5b3474881a154216b47c6e154552ee5f9c68c509 (patch) | |
tree | 098f24750e89f88b3c80ded4579a44928bae1b45 /testing/gtkpod | |
parent | 4982c269b318734d01ad30c6592fbb73565ceb12 (diff) |
Tue Jul 31 00:02:29 UTC 2012
Diffstat (limited to 'testing/gtkpod')
-rw-r--r-- | testing/gtkpod/PKGBUILD | 34 | ||||
-rw-r--r-- | testing/gtkpod/gtkpod.install | 12 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/gtkpod/PKGBUILD b/testing/gtkpod/PKGBUILD new file mode 100644 index 000000000..2317110ed --- /dev/null +++ b/testing/gtkpod/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 164294 2012-07-29 23:15:49Z tomegun $ +# Contributor: Kevin Piche <kevin@archlinux.org> +# Contributor: Aaron Griffin <aaron@archlinux.org> + +pkgname=gtkpod +pkgver=2.1.2 +pkgrel=2 +pkgdesc="A platform independent GUI for Apple's iPod using GTK3" +arch=('i686' 'x86_64') +url="http://gtkpod.sourceforge.net" +license=('GPL') +depends=('anjuta' 'curl' 'flac' 'libid3tag' 'libgpod' 'awk') +makedepends=('flex' 'intltool' 'libvorbis' 'faad2') +optdepends=('libmp4v2: MP4/h264 support' + 'vorbis-tools: OGG support' + 'libvorbis: OGG support' + 'id3v2: mp3 conversion support' + 'faad2: m4a conversion support') +install=gtkpod.install +options=('!libtool') +source=("http://downloads.sourceforge.net/gtkpod/${pkgname}-${pkgver}.tar.gz") +md5sums=('88fef3f947cbb7ae6b714080733a3b6b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's#python#python2#' scripts/sync-palm-jppy.py + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/gtkpod/gtkpod.install b/testing/gtkpod/gtkpod.install new file mode 100644 index 000000000..c5d357a38 --- /dev/null +++ b/testing/gtkpod/gtkpod.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |