diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/osdlyrics | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/osdlyrics')
-rw-r--r-- | community/osdlyrics/PKGBUILD | 31 | ||||
-rw-r--r-- | community/osdlyrics/osdlyrics.install | 15 |
2 files changed, 46 insertions, 0 deletions
diff --git a/community/osdlyrics/PKGBUILD b/community/osdlyrics/PKGBUILD new file mode 100644 index 000000000..10e36f4c7 --- /dev/null +++ b/community/osdlyrics/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 81442 2012-12-21 03:27:19Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Auguste Pop <auguste [at] gmail [dot] com> + +pkgname=osdlyrics +pkgver=0.4.3 +pkgrel=2 +pkgdesc="A lyric show compatible with various media players" +arch=('i686' 'x86_64') +url="http://code.google.com/p/osd-lyrics/" +license=('GPL3') +depends=('gtk2' 'dbus-glib' 'curl' 'libnotify' 'libmpd' 'xmms2' + 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('intltool') +install=$pkgname.install +source=("http://osd-lyrics.googlecode.com/files/$pkgname-$pkgver.tar.gz") +md5sums=('a14a3fbfe07eb7137074126db63b9aa2') + +build() +{ + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() +{ + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/osdlyrics/osdlyrics.install b/community/osdlyrics/osdlyrics.install new file mode 100644 index 000000000..54854a1fe --- /dev/null +++ b/community/osdlyrics/osdlyrics.install @@ -0,0 +1,15 @@ +post_upgrade() +{ + usr/bin/update-desktop-database -q + usr/bin/gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_install() +{ + post_upgrade +} + +post_remove() +{ + post_upgrade +} |