diff options
author | Anthony Vitacco | 2015-08-13 12:51:01 -0400 |
---|---|---|
committer | Anthony Vitacco | 2015-08-13 12:51:01 -0400 |
commit | 0a72d84fa8c0900e9eb97a2be0027fce2af38262 (patch) | |
tree | e11c8ced4acb7bb1521a1697a6f1e1f373497377 /PKGBUILD | |
download | aur-0a72d84fa8c0900e9eb97a2be0027fce2af38262.tar.gz |
Initial Check-in
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..833eabd33a62 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Anthony Vitacco <anthony@littlegno.me> +pkgname=rhythmbox-plugin-ampache-git +pkgver=7415a69 +pkgrel=1 +pkgdesc=" Rhythmbox plugin to stream music from Ampache" +arch=('any') +url="https://github.com/lotan/rhythmbox-ampache" +license=('GPL') +depends=('rhythmbox>=3.0' 'python') +makedepends=('git') +provides=('rhythmbox-plugin-ampache') +install="rhythmbox-plugin-ampache-git.install" +source=(${pkgname}::git+https://github.com/lotan/rhythmbox-ampache) +sha1sums=('SKIP') +replace=rhythmbox-ampache-svn + +pkgver() { + cd "${pkgname}" + git describe --always | sed 's|-|.|g' +} + +package() { + mkdir -p $pkgdir/usr/share/rhythmbox/plugins/ampache + mkdir -p $pkgdir/usr/share/glib-2.0/schemas/ + mkdir -p $pkgdir/usr/lib/rhythmbox/plugins/ampache/ + + cd "$srcdir/$pkgname" + + install -Dm644 *.py $pkgdir/usr/lib/rhythmbox/plugins/ampache/ + install -Dm644 ampache.plugin $pkgdir/usr/lib/rhythmbox/plugins/ampache/ + install -Dm644 ampache-prefs.ui $pkgdir/usr/share/rhythmbox/plugins/ampache + install -Dm644 ampache.ico $pkgdir/usr/share/rhythmbox/plugins/ampache + install -Dm644 ampache.png $pkgdir/usr/share/rhythmbox/plugins/ampache + install -Dm644 org.gnome.rhythmbox.plugins.ampache.gschema.xml $pkgdir/usr/share/glib-2.0/schemas +} + |