diff options
author | Bleuzen | 2019-04-08 19:26:04 +0200 |
---|---|---|
committer | Bleuzen | 2019-04-08 19:26:04 +0200 |
commit | 98889d003a5a6842e55a5dfc12f8203b5822b4a1 (patch) | |
tree | 62549a7ca9416164bdcabdf6004c9aea51f029fe | |
download | aur-98889d003a5a6842e55a5dfc12f8203b5822b4a1.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..796f4d9445b8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = olivia + pkgdesc = Deadass music player for Linux + pkgver = r182.517136a + pkgrel = 1 + url = https://github.com/keshavbhatt/olivia + arch = i686 + arch = x86_64 + license = GPL3 + depends = qt5-base + depends = qt5-tools + depends = mpv + depends = python + depends = wget + source = git+https://github.com/keshavbhatt/olivia.git + sha256sums = SKIP + +pkgname = olivia + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3678630202e2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Bleuzen <supgesu at gmail dot com> + +pkgname=olivia +pkgver=r182.517136a +pkgrel=1 +pkgdesc="Deadass music player for Linux" +arch=('i686' 'x86_64') +url="https://github.com/keshavbhatt/olivia" +license=('GPL3') +depends=('qt5-base' 'qt5-tools' 'mpv' 'python' 'wget') +source=("git+https://github.com/keshavbhatt/olivia.git") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$pkgname" + qmake Olivia.pro -spec linux-g++ CONFIG+=release + make +} + +package() { + # make install + cd "$pkgname" + mkdir -p "$pkgdir"/usr/bin/ + install -m755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname" +} |