diff options
author | Josip Ponjavic | 2017-04-15 04:07:04 +0200 |
---|---|---|
committer | Josip Ponjavic | 2017-04-15 04:07:04 +0200 |
commit | 6a14b77c2bdaba021c002b0aed896996193653a6 (patch) | |
tree | 65e23965d5bfd7a27d77039e3fed21a20e6ea410 | |
download | aur-6a14b77c2bdaba021c002b0aed896996193653a6.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..232896c87ab7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = babe-git + pkgdesc = Tiny Qt Babe Music Player + pkgver = r8.8283c99 + pkgrel = 1 + url = https://milohr.github.io/BabeIt/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = extra-cmake-modules + makedepends = git + makedepends = python + depends = hicolor-icon-theme + depends = knotifications + depends = ki18n + depends = taglib + optdepends = youtube-dl: youtube support + provides = babe + conflicts = babe + conflicts = babe-qt + replaces = babe-qt + source = git+git://anongit.kde.org/babe.git + sha256sums = SKIP + +pkgname = babe-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ea1a299080a4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com> + +pkgname=babe-git +pkgver=r8.8283c99 +pkgrel=1 +pkgdesc='Tiny Qt Babe Music Player' +arch=('i686' 'x86_64') +url="https://milohr.github.io/BabeIt/" +license=('GPL3') +depends=('hicolor-icon-theme' 'knotifications' 'ki18n' 'taglib') +makedepends=('extra-cmake-modules' 'git' 'python') +optdepends=('youtube-dl: youtube support') +provides=("${pkgname%-*}") +conflicts=("${pkgname%-*}" 'babe-qt') +replaces=('babe-qt') +source=('git+git://anongit.kde.org/babe.git') +sha256sums=('SKIP') + +pkgver() { + cd babe + printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd babe + cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd babe + make DESTDIR="${pkgdir}/" install + install -Dm644 data/babe.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/babe.svg" + install -Dm755 org.kde.babe.desktop "$pkgdir/usr/share/applications/org.kde.babe.desktop" + sed -i 's|Exec=Babe|Exec=babe|' "${pkgdir}/usr/share/applications/org.kde.babe.desktop" + sed -i 's|Icon=Babe|Icon=babe|' "${pkgdir}/usr/share/applications/org.kde.babe.desktop" +} |