diff options
author | DJ Griffin | 2018-12-31 05:56:45 -0500 |
---|---|---|
committer | DJ Griffin | 2018-12-31 05:56:45 -0500 |
commit | d2f4ed8a9728f4904f80b95ec148977e4a198922 (patch) | |
tree | f9278e82bf5656b292068410e276611cab1146b8 /PKGBUILD | |
download | aur-d2f4ed8a9728f4904f80b95ec148977e4a198922.tar.gz |
First main OMP release AUR package.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c7400bb3ffe4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: DJ Griffin <thewisenoob@gmail.com> + +pkgname=omp +pkgver=0.1 +pkgrel=1 +pkgdesc='Open-Source Music Player' +url='https://openmusicplayer.com/' +arch=(x86_64) +license=(GPL3) +depends=(gstreamer gst-libav gst-plugins-bad gst-plugins-base + gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gtkmm3 + libclastfm libconfig sqlite taglib) +makedepends=(git) +provides=('omp') +conflicts=('omp' 'omp-git') +source=("$pkgname-$pkgver.tar.gz::https://github.com/TheWiseNoob/OMP/archive/$pkgver.tar.gz") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname}" + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd "${pkgname}" + make +} + +package() { + cd "${pkgname}" + make install DESTDIR=${pkgdir} +} |