summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-10-21 08:27:53 +0200
committerGravatar waker <wakeroid@gmail.com>2010-10-21 08:27:53 +0200
commita1505166e4370f1fa1d23870c406b53a25aa0802 (patch)
tree65a7136eb9672bbd460d000b772b71d5bc1b1e70
parent588fd684fa9abccdbfc1c486187fa5cb40e23cd4 (diff)
updated arch PKGBUILD
-rw-r--r--PKGBUILD6
-rw-r--r--deadbeef.install14
2 files changed, 18 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f76007c..9d2a691a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,19 @@
pkgname=deadbeef
pkgver=0.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="mp3/ogg/flac/ape/sid/mod/nsf/m4a/mpc/shn music player based on GTK2"
arch=(i686 x86_64)
url="http://deadbeef.sourceforge.net"
license=('GPL2')
-makedepends=('gtk2', 'libsamplerate', 'libvorbis', 'libmad', 'flac', 'curl', 'alsa-lib', 'wavpack', 'libsndfile', 'libcdio', 'libcddb', 'ffmpeg', "libx11", "faad2", "zlib")
+makedepends=('gtk2', 'libsamplerate', 'libvorbis', 'libmad', 'flac', 'curl', 'alsa-lib', 'wavpack', 'libsndfile', 'libcdio', 'libcddb', 'ffmpeg', 'libx11', 'faad2', 'zlib', 'intltool', 'pkgconfig')
depends=('gtk2' 'libsamplerate' 'alsa-lib')
optdepends=('libvorbis: ogg vorbis playback', 'libmad: mp1/2/3 playback', 'flac: flac playback', 'curl: lastfm scrobbler, shoutcast, icecast, podcast support', 'wavpack: wv playback', 'libsndfile: wav playback', "libcdio: audio cd plugin", "libcddb: audio cd plugin", "ffmpeg: for wma, aa3, oma, ac3, etc", "libmms: required for MMS protocol support", "faad2: required for AAC/MP4 support", "dbus: required for OSD notifications support", "pulseaudio: required for PulseAudio output plugin", "libx11: required for global hotkeys plugin", )
makedepends=('pkgconfig')
+install=deadbeef.install
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('204ce66fd864b2e2b6241532cc53a024')
+options=('!libtool')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/deadbeef.install b/deadbeef.install
new file mode 100644
index 00000000..eaf1b9a6
--- /dev/null
+++ b/deadbeef.install
@@ -0,0 +1,14 @@
+pkgname=deadbeef
+
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}