summaryrefslogtreecommitdiff
path: root/staging
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-24 00:02:45 +0000
committerroot <root@rshg054.dnsready.net>2012-05-24 00:02:45 +0000
commit6553825d7281900890db91a21ac601d7aee9c55e (patch)
treef1840f9e4603c9fb5573f6984627dd089a678afc /staging
parentbd614ac21d2754d778a796cd5e92d1568ec8baec (diff)
Thu May 24 00:02:45 UTC 2012
Diffstat (limited to 'staging')
-rw-r--r--staging/gtkpod/PKGBUILD32
-rw-r--r--staging/gtkpod/gtkpod.install12
2 files changed, 44 insertions, 0 deletions
diff --git a/staging/gtkpod/PKGBUILD b/staging/gtkpod/PKGBUILD
new file mode 100644
index 000000000..5e1b1d4f0
--- /dev/null
+++ b/staging/gtkpod/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 159367 2012-05-22 19:05:45Z tomegun $
+# Contributor: Kevin Piche <kevin@archlinux.org>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+
+pkgname=gtkpod
+pkgver=2.1.1
+pkgrel=3
+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/staging/gtkpod/gtkpod.install b/staging/gtkpod/gtkpod.install
new file mode 100644
index 000000000..c5d357a38
--- /dev/null
+++ b/staging/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
+}