summaryrefslogtreecommitdiff
path: root/testing/gtkpod
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-24 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-04-24 00:01:27 +0000
commit264f2be5f341b9946381d84ebaffc95f9199990b (patch)
tree21ee2b5c6a55b957afc2674f59d66a33635e5705 /testing/gtkpod
parentf81dfba1507be388ae1b2c2437fccad46aadc950 (diff)
Tue Apr 24 00:01:27 UTC 2012
Diffstat (limited to 'testing/gtkpod')
-rw-r--r--testing/gtkpod/PKGBUILD32
-rw-r--r--testing/gtkpod/gtkpod.install12
2 files changed, 44 insertions, 0 deletions
diff --git a/testing/gtkpod/PKGBUILD b/testing/gtkpod/PKGBUILD
new file mode 100644
index 000000000..7a3a1dff6
--- /dev/null
+++ b/testing/gtkpod/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 156691 2012-04-22 23:50:01Z heftig $
+# Maintainer: Kevin Piche <kevin@archlinux.org>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+
+pkgname=gtkpod
+pkgver=2.1.1
+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')
+optdepends=('libmp4v2: MP4/h264 support'
+ 'vorbis-tools: OGG support'
+ 'id3v2: mp3 conversion support')
+install=gtkpod.install
+options=('!libtool')
+source=("http://downloads.sourceforge.net/gtkpod/${pkgname}-${pkgver}.tar.gz")
+md5sums=('36fd0324fd1d1da00fcddacef1b09983')
+
+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
+}