diff options
author | Victor Tran | 2017-06-19 16:47:02 +1000 |
---|---|---|
committer | Victor Tran | 2017-06-19 16:47:02 +1000 |
commit | 47e7f0767f0e834d6b62132a85f43c6abfc0407d (patch) | |
tree | 244f5552876f2eecffbb83e2f072be6669a991df /PKGBUILD | |
download | aur-47e7f0767f0e834d6b62132a85f43c6abfc0407d.tar.gz |
Create version 0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d50dadd8320e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Victor Tran <vicr12345 at gmail dot com> +pkgname=thebeat +pkgver=0.1 +pkgrel=0 +pkgdesc="Audio Player based on Phonon" +arch=("x86_64") +url="https://github.com/vicr123/thebeat" +license=('GPL3') +depends=('libmusicbrainz5' 'xdg-utils' 'phonon-qt5' 'qt5-base') +makedepends=('git' 'clang') +source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/thebeat.git') +md5sums=('SKIP') + +build() { + cd "$pkgname-$pkgver" + qmake + make +} + +package() { + mkdir -p "$pkgdir/usr/bin" + cp "$pkgname-$pkgver/thebeat" "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/applications" + cp "$pkgname-$pkgver/thebeat.desktop" "$pkgdir/usr/share/applications" + mkdir -p "$pkgdir/usr/share/icons" + cp "$srcdir/$pkgname-$pkgver/icon.svg" "$pkgdir/usr/share/icons/thebeat.svg" +} |