diff options
author | Ian Brunelli | 2015-06-08 22:25:06 -0300 |
---|---|---|
committer | Ian Brunelli | 2015-06-08 22:25:06 -0300 |
commit | d03fd05254f2c54b13428a31f73dcaca84e01c1c (patch) | |
tree | ef27c2afe76b24bc9fd38490c959203765520f4e | |
download | aur-d03fd05254f2c54b13428a31f73dcaca84e01c1c.tar.gz |
New versioning model.
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | lollypop.install | 12 |
3 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..be8d53e648c7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = lollypop-git + pkgdesc = Music player for GNOME + pkgver = 0.9.15.r554.g40f35e8 + pkgrel = 1 + url = https://github.com/gnumdk/lollypop + install = lollypop.install + arch = i686 + arch = x86_64 + license = GPLv3 + makedepends = git + makedepends = gnome-common + makedepends = intltool + makedepends = itstool + makedepends = python + makedepends = yelp-tools + depends = gobject-introspection + depends = gtk3 + depends = python-dbus + depends = python-gobject + depends = python-cairo + depends = totem-plparser + optdepends = python-pylast: last.fm support + provides = lollypop=0.9.15.r554.g40f35e8 + conflicts = lollypop + options = !emptydirs + source = git://github.com/gnumdk/lollypop.git + md5sums = SKIP + +pkgname = lollypop-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..063dbea867fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Ian Brunelli (brunelli) <ian@brunelli.me> + +pkgname=lollypop-git +_gitname=lollypop +pkgver=0.9.15.r554.g40f35e8 +pkgrel=1 +pkgdesc='Music player for GNOME' +arch=('i686' 'x86_64') +license=('GPLv3') +url="https://github.com/gnumdk/${_gitname}" +depends=('gobject-introspection' 'gtk3' 'python-dbus' 'python-gobject' 'python-cairo' 'totem-plparser') +makedepends=('git' 'gnome-common' 'intltool' 'itstool' 'python' 'yelp-tools') +optdepends=('python-pylast: last.fm support') +options=('!emptydirs') +install=lollypop.install +source=("git://github.com/gnumdk/${_gitname}.git") +md5sums=('SKIP') +conflicts=('lollypop') +provides=("lollypop=$pkgver") + +pkgver() { + cd "${_gitname}" + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/${_gitname}" + ./autogen.sh --prefix=/usr --disable-schemas-compile + make +} + +package() { + cd "$srcdir/${_gitname}" + make DESTDIR="${pkgdir}" install +} diff --git a/lollypop.install b/lollypop.install new file mode 100644 index 000000000000..c0ed9a0d79f8 --- /dev/null +++ b/lollypop.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |